Class: Swop::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/swop.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#colorObject

Returns the value of attribute color.



20
21
22
# File 'lib/swop.rb', line 20

def color
  @color
end

#styleObject

Returns the value of attribute style.



19
20
21
# File 'lib/swop.rb', line 19

def style
  @style
end