module WritingMethods::DFL
Overview
The main class for working with .dfl files
Direct including types
Defined in:
write.crwrite/write_graphic.cr
write/write_head.cr
write/write_palette.cr
write/write_palgraphic.cr
write/write_sound.cr
Instance Method Summary
-
#write(filename : String | Path)
Writes out the dfl given the filename
dfl = DFL.new dfl.write("Path/To/MyDFL.dfl")
-
#write(io : IO)
Writes out the dfl given the io
dfl = DFL.new File.open("Path/To/MyDFL.dfl") do |io| dfl.write(io) end
Instance Method Detail
def write(filename : String | Path)
#
Writes out the dfl given the filename
dfl = DFL.new
dfl.write("Path/To/MyDFL.dfl")
def write(io : IO)
#
Writes out the dfl given the io
dfl = DFL.new
File.open("Path/To/MyDFL.dfl") do |io|
dfl.write(io)
end