Sha256: e033bf4f8bd01a06b13c94b522a81709c2e3e71d543631b56a634264c8823efe

Contents?: true

Size: 127 Bytes

Versions: 245

Compression:

Stored size: 127 Bytes

Contents

class Struct
  def tag_name
    tag = self[:tags].find do |t|
      t[:key] == 'Name'
    end
    tag[:value] if tag
  end
end

Version data entries

245 entries across 245 versions & 4 rubygems

Version Path
awspec-0.14.0 lib/awspec/ext/struct.rb
awspec-0.13.0 lib/awspec/ext/struct.rb
awspec-0.12.1 lib/awspec/ext/struct.rb
awspec-0.12.0 lib/awspec/ext/struct.rb
awspec-0.11.0 lib/awspec/ext/struct.rb
awspec-0.10.2 lib/awspec/ext/struct.rb
awspec-0.10.1 lib/awspec/ext/struct.rb
awspec-0.10.0 lib/awspec/ext/struct.rb
awspec-0.9.0 lib/awspec/ext/struct.rb
awspec-0.8.1 lib/awspec/ext/struct.rb
awspec-0.8.0 lib/awspec/ext/struct.rb
awspec-0.7.0 lib/awspec/ext/struct.rb
awspec-0.6.4 lib/awspec/ext/struct.rb
awspec-0.6.3 lib/awspec/ext/struct.rb
awspec-0.6.2 lib/awspec/ext/struct.rb
awspec-0.6.1 lib/awspec/ext/struct.rb
awspec-0.6.0 lib/awspec/ext/struct.rb
awspec-0.5.0 lib/awspec/ext/struct.rb
awspec-0.4.1 lib/awspec/ext/struct.rb
awspec-0.4.0 lib/awspec/ext/struct.rb