Method: MemFs::IO#puts

Defined in:
lib/memfs/io.rb

#puts(text) ⇒ Object



162
163
164
165
166
# File 'lib/memfs/io.rb', line 162

def puts(text)
  fail IOError, 'not opened for writing' unless writable?

  content.puts text
end