Class: Hospital::Formatter::Base
- Inherits:
-
Object
- Object
- Hospital::Formatter::Base
- Defined in:
- lib/hospital/formatter/base.rb
Instance Attribute Summary collapse
-
#buffer ⇒ Object
readonly
Returns the value of attribute buffer.
Instance Method Summary collapse
-
#initialize ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
6 7 8 |
# File 'lib/hospital/formatter/base.rb', line 6 def initialize @buffer = "" end |
Instance Attribute Details
#buffer ⇒ Object (readonly)
Returns the value of attribute buffer.
4 5 6 |
# File 'lib/hospital/formatter/base.rb', line 4 def buffer @buffer end |