Class: Hospital::Formatter::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/hospital/formatter/base.rb

Direct Known Subclasses

Pre, Raw, Shell

Instance Method Summary collapse

Constructor Details

#initializeBase

Returns a new instance of Base.



4
5
6
# File 'lib/hospital/formatter/base.rb', line 4

def initialize
  @buffer = ""
end

Instance Method Details

#resultObject



8
9
10
# File 'lib/hospital/formatter/base.rb', line 8

def result
  @buffer
end