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, options)
  @parent = parent
  @children = []
  @name = name
  @type = type
  @actions = initial_actions(options)
  # @never_takes_object = options[:object] == false
end