Module: Halogen::Resource::InstanceMethods

Defined in:
lib/halogen/resource.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#initialize(resource, *args) ⇒ Object

Override standard initializer to assign primary resource

Parameters:

  • resource (Object)

    the primary resource


51
52
53
54
55
# File 'lib/halogen/resource.rb', line 51

def initialize(resource, *args)
  @resource = resource

  super *args
end