Class: ScheduleAttributes::Configuration
- Inherits:
-
Object
- Object
- ScheduleAttributes::Configuration
- Defined in:
- lib/schedule_attributes/configuration.rb
Instance Attribute Summary collapse
-
#time_format ⇒ Object
Returns the value of attribute time_format.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_format ⇒ Object
Returns the value of attribute time_format.
5 6 7 |
# File 'lib/schedule_attributes/configuration.rb', line 5 def time_format @time_format end |