Class: TableBeet::Formatters::BaseFormatter
- Inherits:
-
Object
- Object
- TableBeet::Formatters::BaseFormatter
- Defined in:
- lib/table_beet/formatters/base_formatter.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#directory ⇒ Object
readonly
Returns the value of attribute directory.
-
#scopes ⇒ Object
readonly
Returns the value of attribute scopes.
Instance Method Summary collapse
-
#initialize(scopes, directory) ⇒ BaseFormatter
constructor
A new instance of BaseFormatter.
Constructor Details
#initialize(scopes, directory) ⇒ BaseFormatter
Returns a new instance of BaseFormatter.
8 9 10 11 |
# File 'lib/table_beet/formatters/base_formatter.rb', line 8 def initialize(scopes, directory) @scopes = scopes @directory = directory end |
Instance Attribute Details
#directory ⇒ Object (readonly)
Returns the value of attribute directory.
6 7 8 |
# File 'lib/table_beet/formatters/base_formatter.rb', line 6 def directory @directory end |
#scopes ⇒ Object (readonly)
Returns the value of attribute scopes.
6 7 8 |
# File 'lib/table_beet/formatters/base_formatter.rb', line 6 def scopes @scopes end |