Class: Gearhead::AutomountConfiguration
- Inherits:
-
Object
- Object
- Gearhead::AutomountConfiguration
- Defined in:
- lib/gearhead/configuration.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#excludes ⇒ Object
Returns the value of attribute excludes.
-
#includes ⇒ Object
Returns the value of attribute includes.
Instance Method Summary collapse
- #enabled? ⇒ Boolean
-
#initialize ⇒ AutomountConfiguration
constructor
A new instance of AutomountConfiguration.
Constructor Details
#initialize ⇒ AutomountConfiguration
Returns a new instance of AutomountConfiguration.
41 42 43 44 45 |
# File 'lib/gearhead/configuration.rb', line 41 def initialize @enabled = false @excludes = [] @includes = [] end |
Instance Attribute Details
#enabled ⇒ Object
Returns the value of attribute enabled.
39 40 41 |
# File 'lib/gearhead/configuration.rb', line 39 def enabled @enabled end |
#excludes ⇒ Object
Returns the value of attribute excludes.
39 40 41 |
# File 'lib/gearhead/configuration.rb', line 39 def excludes @excludes end |
#includes ⇒ Object
Returns the value of attribute includes.
39 40 41 |
# File 'lib/gearhead/configuration.rb', line 39 def includes @includes end |
Instance Method Details
#enabled? ⇒ Boolean
47 48 49 |
# File 'lib/gearhead/configuration.rb', line 47 def enabled? @enabled end |