Rename MemoryIO to IO::Memory since it's deprecated on Crystal 0.20.0

This commit is contained in:
sdogruyol 2016-11-22 23:29:10 +03:00
parent 733582f724
commit 6b034c3b2f
8 changed files with 18 additions and 18 deletions

View file

@ -33,7 +33,7 @@ CONTENT_FOR_BLOCKS = Hash(String, Tuple(String, Proc(String))).new
# setting the appropriate set of tags that should be added to the layout.
macro content_for(key, file = __FILE__)
%proc = ->() {
__kilt_io__ = MemoryIO.new
__kilt_io__ = IO::Memory.new
{{ yield }}
__kilt_io__.to_s
}