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.42.0 lib/awspec/ext/struct.rb
awspec-0.41.0 lib/awspec/ext/struct.rb
awspec-0.40.0 lib/awspec/ext/struct.rb
awspec-0.39.0 lib/awspec/ext/struct.rb
awspec-0.38.0 lib/awspec/ext/struct.rb
awspec-0.37.8 lib/awspec/ext/struct.rb
awspec-0.37.7 lib/awspec/ext/struct.rb
awspec-0.37.6 lib/awspec/ext/struct.rb
awspec-0.37.5 lib/awspec/ext/struct.rb
awspec-0.37.4 lib/awspec/ext/struct.rb
awspec-0.37.3 lib/awspec/ext/struct.rb
awspec-0.37.2 lib/awspec/ext/struct.rb
awspec-0.37.1 lib/awspec/ext/struct.rb
awspec-0.37.0 lib/awspec/ext/struct.rb
awspec-0.36.1 lib/awspec/ext/struct.rb
awspec-0.36.0 lib/awspec/ext/struct.rb
awspec-0.35.0 lib/awspec/ext/struct.rb
awspec-0.34.0 lib/awspec/ext/struct.rb
awspec-0.33.0 lib/awspec/ext/struct.rb
awspec-0.32.0 lib/awspec/ext/struct.rb