Module: DayOffs
- Defined in:
- lib/day_offs.rb,
lib/day_offs/version.rb
Defined Under Namespace
Modules: Core, Errors Classes: Configuration, DayOff
Constant Summary collapse
- VERSION =
"0.1.1"
Class Attribute Summary collapse
-
.configuration ⇒ Object
readonly
Returns the value of attribute configuration.
-
.registered_sources ⇒ Object
Returns the value of attribute registered_sources.
-
.used_sources ⇒ Object
Returns the value of attribute used_sources.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object (readonly)
Returns the value of attribute configuration.
23 24 25 |
# File 'lib/day_offs.rb', line 23 def configuration @configuration end |
.registered_sources ⇒ Object
Returns the value of attribute registered_sources.
24 25 26 |
# File 'lib/day_offs.rb', line 24 def registered_sources @registered_sources end |
.used_sources ⇒ Object
Returns the value of attribute used_sources.
24 25 26 |
# File 'lib/day_offs.rb', line 24 def used_sources @used_sources end |
Class Method Details
.configure ⇒ Object
26 27 28 29 |
# File 'lib/day_offs.rb', line 26 def configure @configuration = yield(Configuration.new) DayOffs::Core.objectize_sources end |