Method: Aegis::Resource#initialize
- Defined in:
- lib/aegis/resource.rb
#initialize(parent, name, type, options) ⇒ Resource
Returns a new instance of Resource.
6 7 8 9 10 11 12 13 |
# File 'lib/aegis/resource.rb', line 6 def initialize(parent, name, type, ) @parent = parent @children = [] @name = name @type = type @actions = initial_actions() # @never_takes_object = options[:object] == false end |