Class: Swop::Configuration
- Inherits:
-
Object
- Object
- Swop::Configuration
- Defined in:
- lib/swop.rb
Instance Attribute Summary collapse
-
#color ⇒ Object
Returns the value of attribute color.
-
#style ⇒ Object
Returns the value of attribute style.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
22 23 24 25 |
# File 'lib/swop.rb', line 22 def initialize @style = :simple @color = :light end |
Instance Attribute Details
#color ⇒ Object
Returns the value of attribute color.
20 21 22 |
# File 'lib/swop.rb', line 20 def color @color end |
#style ⇒ Object
Returns the value of attribute style.
19 20 21 |
# File 'lib/swop.rb', line 19 def style @style end |