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-1.25.1 lib/awspec/ext/struct.rb
awspec-1.25.0 lib/awspec/ext/struct.rb
awspec-1.24.4 lib/awspec/ext/struct.rb
awspec-1.24.3 lib/awspec/ext/struct.rb
awspec-1.24.2 lib/awspec/ext/struct.rb
awspec-1.24.1 lib/awspec/ext/struct.rb
awspec-1.24.0 lib/awspec/ext/struct.rb
awspec-1.23.0 lib/awspec/ext/struct.rb
awspec-1.22.1 lib/awspec/ext/struct.rb
awspec-1.22.0 lib/awspec/ext/struct.rb
awspec-1.21.1 lib/awspec/ext/struct.rb
awspec-1.21.0 lib/awspec/ext/struct.rb
awspec-1.20.0 lib/awspec/ext/struct.rb
awspec-1.19.2 lib/awspec/ext/struct.rb
awspec-1.19.1 lib/awspec/ext/struct.rb
awspec-1.19.0 lib/awspec/ext/struct.rb
cthiesfork-awspec-1.2.4 lib/awspec/ext/struct.rb
awspec-api_gateway_extended-1.2.4 lib/awspec/ext/struct.rb
awspec-api_gateway_extended-1.2.3 lib/awspec/ext/struct.rb
awspec-1.18.6 lib/awspec/ext/struct.rb