Class: ScheduleAttributes::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



7
8
9
# File 'lib/schedule_attributes/configuration.rb', line 7

def initialize
  @time_format = '%H:%M'
end

Instance Attribute Details

#time_formatObject

Returns the value of attribute time_format.



5
6
7
# File 'lib/schedule_attributes/configuration.rb', line 5

def time_format
  @time_format
end