Class: Switches::Configuration
- Inherits:
-
Object
- Object
- Switches::Configuration
- Defined in:
- lib/switches/configuration.rb
Instance Attribute Summary collapse
-
#backend ⇒ Object
Returns the value of attribute backend.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize {|_self| ... } ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 |
# File 'lib/switches/configuration.rb', line 5 def initialize yield self if block_given? end |
Instance Attribute Details
#backend ⇒ Object
Returns the value of attribute backend.
3 4 5 |
# File 'lib/switches/configuration.rb', line 3 def backend @backend end |