Class: Faith::Group
Instance Attribute Summary
Attributes inherited from Namespace
Attributes inherited from Task
#action, #dependencies, #mixins, #name, #parent
Instance Method Summary collapse
-
#initialize(name, parent, children, mixins: [], dependencies: []) ⇒ Group
constructor
A new instance of Group.
Methods inherited from Namespace
Methods inherited from Task
#child, #ensure_all_resolved, #ensure_resolved, #resolve, #resolve_self!, #run
Methods included from Named
Constructor Details
#initialize(name, parent, children, mixins: [], dependencies: []) ⇒ Group
Returns a new instance of Group.
3 4 5 6 7 |
# File 'lib/faith/group.rb', line 3 def initialize(name, parent, children, mixins: [], dependencies: []) super(name, parent, children, mixins: mixins, dependencies: dependencies) do raise 'cannot run a group' end end |