Class: Faith::Group

Inherits:
Namespace show all
Defined in:
lib/faith/group.rb

Instance Attribute Summary

Attributes inherited from Namespace

#children

Attributes inherited from Task

#action, #dependencies, #mixins, #name, #parent

Instance Method Summary collapse

Methods inherited from Namespace

#resolve_self!

Methods inherited from Task

#child, #ensure_all_resolved, #ensure_resolved, #resolve, #resolve_self!, #run

Methods included from Named

#full_name, #root?

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