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.57.1 lib/awspec/ext/struct.rb
awspec-0.57.0 lib/awspec/ext/struct.rb
awspec-0.56.1 lib/awspec/ext/struct.rb
awspec-0.56.0 lib/awspec/ext/struct.rb
awspec-0.55.0 lib/awspec/ext/struct.rb
awspec-0.54.0 lib/awspec/ext/struct.rb
awspec-0.52.4 lib/awspec/ext/struct.rb
awspec-0.52.3 lib/awspec/ext/struct.rb
awspec-0.52.2 lib/awspec/ext/struct.rb
awspec-0.52.1 lib/awspec/ext/struct.rb
awspec-0.52.0 lib/awspec/ext/struct.rb
awspec-0.51.0 lib/awspec/ext/struct.rb
awspec-0.50.0 lib/awspec/ext/struct.rb
awspec-0.49.0 lib/awspec/ext/struct.rb
awspec-0.48.0 lib/awspec/ext/struct.rb
awspec-0.47.0 lib/awspec/ext/struct.rb
awspec-0.46.0 lib/awspec/ext/struct.rb
awspec-0.45.0 lib/awspec/ext/struct.rb
awspec-0.44.0 lib/awspec/ext/struct.rb
awspec-0.43.0 lib/awspec/ext/struct.rb