Class: Humidifier::Directory::Export
- Inherits:
-
Struct
- Object
- Struct
- Humidifier::Directory::Export
- Defined in:
- lib/humidifier/directory.rb
Overview
Represents an exported resource in a stack for use in cross-stack references.
Instance Attribute Summary collapse
-
#attribute ⇒ Object
Returns the value of attribute attribute.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#attribute ⇒ Object
Returns the value of attribute attribute
10 11 12 |
# File 'lib/humidifier/directory.rb', line 10 def attribute @attribute end |
#name ⇒ Object
Returns the value of attribute name
10 11 12 |
# File 'lib/humidifier/directory.rb', line 10 def name @name end |
Instance Method Details
#value ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/humidifier/directory.rb', line 12 def value if attribute.is_a?(String) Humidifier.fn.get_att([name, attribute]) else Humidifier.ref(name) end end |