Method: Cfnlego::Resource#initialize

Defined in:
lib/cfndsl/cfnlego/resource.rb

#initialize(type, name) ⇒ Resource

Returns a new instance of Resource.



13
14
15
16
# File 'lib/cfndsl/cfnlego/resource.rb', line 13

def initialize(type, name)
  @type = type
  @name = name
end