Class: ROM::Lotus::Config
- Inherits:
-
Object
- Object
- ROM::Lotus::Config
- Defined in:
- lib/rom-lotus.rb
Instance Attribute Summary collapse
-
#repositories ⇒ Object
readonly
Returns the value of attribute repositories.
-
#root ⇒ Object
readonly
Returns the value of attribute root.
Instance Method Summary collapse
- #db_dir ⇒ Object
-
#initialize(root) ⇒ Config
constructor
A new instance of Config.
Constructor Details
Instance Attribute Details
#repositories ⇒ Object (readonly)
Returns the value of attribute repositories.
15 16 17 |
# File 'lib/rom-lotus.rb', line 15 def repositories @repositories end |
#root ⇒ Object (readonly)
Returns the value of attribute root.
13 14 15 |
# File 'lib/rom-lotus.rb', line 13 def root @root end |
Instance Method Details
#db_dir ⇒ Object
22 23 24 |
# File 'lib/rom-lotus.rb', line 22 def db_dir root.join('db') end |