Module: TmpRails
- Defined in:
- lib/generator-spec/rails/configure.rb
Class Attribute Summary collapse
-
.root ⇒ Object
Returns the value of attribute root.
Class Method Summary collapse
Class Attribute Details
.root ⇒ Object
Returns the value of attribute root.
3 4 5 |
# File 'lib/generator-spec/rails/configure.rb', line 3 def root @root end |
Class Method Details
.root_dir(path, options = {}) ⇒ Object
5 6 7 |
# File 'lib/generator-spec/rails/configure.rb', line 5 def root_dir path, = {} @root = == :custom ? custom_root_dir(path) : default_root_dir(path) end |