Module: Prototypical::Configuration
- Included in:
- Prototypical
- Defined in:
- lib/prototypical/configuration.rb
Instance Attribute Summary collapse
-
#enable_on_include ⇒ Object
Returns the value of attribute enable_on_include.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#view_path ⇒ Object
Returns the value of attribute view_path.
Instance Method Summary collapse
Instance Attribute Details
#enable_on_include ⇒ Object
Returns the value of attribute enable_on_include.
3 4 5 |
# File 'lib/prototypical/configuration.rb', line 3 def enable_on_include @enable_on_include end |
#enabled ⇒ Object
Returns the value of attribute enabled.
3 4 5 |
# File 'lib/prototypical/configuration.rb', line 3 def enabled @enabled end |
#view_path ⇒ Object
Returns the value of attribute view_path.
3 4 5 |
# File 'lib/prototypical/configuration.rb', line 3 def view_path @view_path end |
Instance Method Details
#enable_on_include? ⇒ Boolean
9 10 11 |
# File 'lib/prototypical/configuration.rb', line 9 def enable_on_include? !!enable_on_include end |
#enabled? ⇒ Boolean
5 6 7 |
# File 'lib/prototypical/configuration.rb', line 5 def enabled? !!enabled end |