Module: Nuntius::Options
- Included in:
- Configuration
- Defined in:
- lib/nuntius/configuration.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(cls) ⇒ Object
33 34 35 |
# File 'lib/nuntius/configuration.rb', line 33 def self.included(cls) cls.extend(ClassMethods) end |
Instance Method Details
#set_defaults! ⇒ Object
27 28 29 30 31 |
# File 'lib/nuntius/configuration.rb', line 27 def set_defaults! self.class.schema.each do |name, | instance_variable_set(:"@#{name}", [:default]) end end |