Module: TmpRails
- Defined in:
- lib/rspec_for_generators/rails_spec_helper.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.
5 6 7 |
# File 'lib/rspec_for_generators/rails_spec_helper.rb', line 5 def root @root end |
Class Method Details
.root_dir(path, options = {}) ⇒ Object
7 8 9 |
# File 'lib/rspec_for_generators/rails_spec_helper.rb', line 7 def root_dir path, = {} @root = == :custom ? custom_root_dir(path) : default_root_dir(path) end |