Class: Argh::Formatters::BaseFormatter
- Inherits:
-
Object
- Object
- Argh::Formatters::BaseFormatter
- Defined in:
- lib/argh/formatters/base_formatter.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(collector, context) ⇒ BaseFormatter
constructor
A new instance of BaseFormatter.
- #process ⇒ Object
Constructor Details
#initialize(collector, context) ⇒ BaseFormatter
Returns a new instance of BaseFormatter.
6 7 8 9 |
# File 'lib/argh/formatters/base_formatter.rb', line 6 def initialize(collector, context) @collector = collector @context = context end |
Instance Method Details
#process ⇒ Object
11 12 13 |
# File 'lib/argh/formatters/base_formatter.rb', line 11 def process raise 'BaseFormatter should be subclassed' end |