Class: Hospital::Formatter::Base

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

Direct Known Subclasses

Pre, Shell

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBase

Returns a new instance of Base.



6
7
8
# File 'lib/hospital/formatter/base.rb', line 6

def initialize
  @buffer = ""
end

Instance Attribute Details

#bufferObject (readonly)

Returns the value of attribute buffer.



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

def buffer
  @buffer
end