Class: Struct
- Inherits:
-
Object
- Object
- Struct
- Defined in:
- lib/awspec/ext/struct.rb
Instance Method Summary collapse
Instance Method Details
#tag_name ⇒ Object
2 3 4 5 6 7 |
# File 'lib/awspec/ext/struct.rb', line 2 def tag_name tag = self[:tags].find do |t| t[:key] == 'Name' end tag[:value] if tag end |