Method: Fate::Output::IOFilter#write

Defined in:
lib/fate/output.rb

#write(string) ⇒ Object

duck typing for IO



31
32
33
34
35
# File 'lib/fate/output.rb', line 31

def write(string)
  num = @io.write(@master.format(@name, string))
  @io.flush
  num
end