Module: Mattock::CascadingDefinition
- Includes:
- Configurable
- Included in:
- TaskLib, TaskMixin
- Defined in:
- lib/mattock/cascading-definition.rb
Rake Tasks Defined
Constant Summary
Constant Summary
Constants included from Configurable
Mattock::Configurable::RequiredField
Instance Method Summary (collapse)
- - (Object) confirm_configuration
- - (Object) default_configuration(*tasklibs)
- - (Object) define
-
- (CascadingDefinition) initialize(*tasklibs) {|_self| ... }
A new instance of CascadingDefinition.
- - (Object) resolve_configuration
Methods included from Configurable
#check_required, #copy_settings_to, #nil_fields, #required_fields, #setting, #settings, #setup_defaults, #unset?
Methods included from Mattock::Configurable::ClassMethods
#copy_settings, #default_values, #included, #missing_required_fields_on, #nested, #nil_fields, #required_fields, #set_defaults_on, #setting, #settings
Instance Method Details
- (Object) confirm_configuration
25 26 27 |
# File 'lib/mattock/cascading-definition.rb', line 25 def confirm_configuration check_required end |
- (Object) default_configuration(*tasklibs)
19 20 |
# File 'lib/mattock/cascading-definition.rb', line 19 def default_configuration(*tasklibs) end |
- (Object) define
29 30 |
# File 'lib/mattock/cascading-definition.rb', line 29 def define end |
- (CascadingDefinition) initialize(*tasklibs) {|_self| ... }
A new instance of CascadingDefinition
7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/mattock/cascading-definition.rb', line 7 def initialize(*tasklibs) setup_defaults default_configuration(*tasklibs) yield self if block_given? resolve_configuration confirm_configuration define end |
- (Object) resolve_configuration
22 23 |
# File 'lib/mattock/cascading-definition.rb', line 22 def resolve_configuration end |