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.68.0 lib/awspec/ext/struct.rb
awspec-0.67.1 lib/awspec/ext/struct.rb
awspec-0.67.0 lib/awspec/ext/struct.rb
awspec-0.66.2 lib/awspec/ext/struct.rb
awspec-0.66.1 lib/awspec/ext/struct.rb
awspec-0.66.0 lib/awspec/ext/struct.rb
awspec-0.65.2 lib/awspec/ext/struct.rb
awspec-0.65.1 lib/awspec/ext/struct.rb
awspec-0.65.0 lib/awspec/ext/struct.rb
awspec-0.64.0 lib/awspec/ext/struct.rb
awspec-0.63.1 lib/awspec/ext/struct.rb
awspec-0.63.0 lib/awspec/ext/struct.rb
awspec-0.62.1 lib/awspec/ext/struct.rb
awspec-0.62.0 lib/awspec/ext/struct.rb
awspec-0.61.1 lib/awspec/ext/struct.rb
awspec-0.61.0 lib/awspec/ext/struct.rb
awspec-0.60.1 lib/awspec/ext/struct.rb
awspec-0.60.0 lib/awspec/ext/struct.rb
awspec-0.59.0 lib/awspec/ext/struct.rb
awspec-0.58.0 lib/awspec/ext/struct.rb