Class: Tavola::Configuration
- Inherits:
-
Object
- Object
- Tavola::Configuration
- Defined in:
- lib/tavola/configuration.rb
Instance Attribute Summary collapse
-
#base_dir ⇒ Object
readonly
Returns the value of attribute base_dir.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize(opts = {}) ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 |
# File 'lib/tavola/configuration.rb', line 6 def initialize opts={} @base_dir = opts[:base_dir] end |
Instance Attribute Details
#base_dir ⇒ Object (readonly)
Returns the value of attribute base_dir.
4 5 6 |
# File 'lib/tavola/configuration.rb', line 4 def base_dir @base_dir end |