Class: Flipper::UI::Option
- Inherits:
-
Object
- Object
- Flipper::UI::Option
- Defined in:
- lib/flipper/ui/configuration/option.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#title ⇒ Object
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(title, description) ⇒ Option
constructor
A new instance of Option.
Constructor Details
#initialize(title, description) ⇒ Option
Returns a new instance of Option.
6 7 8 9 |
# File 'lib/flipper/ui/configuration/option.rb', line 6 def initialize(title, description) @title = title @description = description end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
4 5 6 |
# File 'lib/flipper/ui/configuration/option.rb', line 4 def description @description end |
#title ⇒ Object
Returns the value of attribute title.
4 5 6 |
# File 'lib/flipper/ui/configuration/option.rb', line 4 def title @title end |