Class: Yaps::Configuration
- Inherits:
-
Object
- Object
- Yaps::Configuration
- Defined in:
- lib/yaps/configuration.rb
Instance Attribute Summary collapse
-
#enable ⇒ Object
Returns the value of attribute enable.
Instance Method Summary collapse
- #enable? ⇒ Boolean
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 |
# File 'lib/yaps/configuration.rb', line 9 def initialize @enable = true end |
Instance Attribute Details
#enable ⇒ Object
Returns the value of attribute enable.
3 4 5 |
# File 'lib/yaps/configuration.rb', line 3 def enable @enable end |
Instance Method Details
#enable? ⇒ Boolean
5 6 7 |
# File 'lib/yaps/configuration.rb', line 5 def enable? return enable end |