Class: Themer::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



22
23
24
25
26
27
28
29
30
# File 'lib/themer/configuration.rb', line 22

def initialize
    @themes = ['default']
    @default = 'default'
    @auto = false
    @day = 'light'
    @night = 'dark'
    @day_time = '6:00 am'
    @night_time = '6:00 pm'
end

Instance Attribute Details

#autoObject

Returns the value of attribute auto.



16
17
18
# File 'lib/themer/configuration.rb', line 16

def auto
  @auto
end

#dayObject

Returns the value of attribute day.



17
18
19
# File 'lib/themer/configuration.rb', line 17

def day
  @day
end

#day_timeObject

Returns the value of attribute day_time.



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

def day_time
  @day_time
end

#defaultObject

Returns the value of attribute default.



15
16
17
# File 'lib/themer/configuration.rb', line 15

def default
  @default
end

#nightObject

Returns the value of attribute night.



18
19
20
# File 'lib/themer/configuration.rb', line 18

def night
  @night
end

#night_timeObject

Returns the value of attribute night_time.



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

def night_time
  @night_time
end

#themesObject

Returns the value of attribute themes.



14
15
16
# File 'lib/themer/configuration.rb', line 14

def themes
  @themes
end