Class: Lutra::Formatters::Base
- Inherits:
-
Object
- Object
- Lutra::Formatters::Base
- Defined in:
- lib/lutra/formatters/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #display(notes) ⇒ Object
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(options = {}) ⇒ Base
6 7 8 |
# File 'lib/lutra/formatters/base.rb', line 6 def initialize( = {}) = .merge() end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
4 5 6 |
# File 'lib/lutra/formatters/base.rb', line 4 def end |
Instance Method Details
#display(notes) ⇒ Object
10 11 12 |
# File 'lib/lutra/formatters/base.rb', line 10 def display(notes) raise NotImplementedError end |