Class: Namespace
- Inherits:
-
Object
- Object
- Namespace
- Defined in:
- lib/cloudformation-ruby-dsl/dsl.rb
Overview
This class is used by erb templates so they can access the parameters passed
Instance Attribute Summary collapse
-
#params ⇒ Object
Returns the value of attribute params.
Instance Method Summary collapse
- #get_binding ⇒ Object
-
#initialize(hash) ⇒ Namespace
constructor
A new instance of Namespace.
Constructor Details
#initialize(hash) ⇒ Namespace
Returns a new instance of Namespace.
257 258 259 |
# File 'lib/cloudformation-ruby-dsl/dsl.rb', line 257 def initialize(hash) @params = hash end |
Instance Attribute Details
#params ⇒ Object
Returns the value of attribute params.
256 257 258 |
# File 'lib/cloudformation-ruby-dsl/dsl.rb', line 256 def params @params end |
Instance Method Details
#get_binding ⇒ Object
260 261 262 |
# File 'lib/cloudformation-ruby-dsl/dsl.rb', line 260 def get_binding binding end |