Sha256: afb6e75e462939e28d0c148c24645c60b5662bf82f190dc9d6fe6f0e9d2abca2

Contents?: true

Size: 517 Bytes

Versions: 182

Compression:

Stored size: 517 Bytes

Contents

module Awspec::Generator
  module Doc
    module Type
      class Ami < Base
        def initialize
          super
          @type_name = 'AMI'
          @type = Awspec::Type::Ami.new('my-ami')
          @ret = @type.resource_via_client
          @matchers = [
            Awspec::Type::Ami::STATES.map { |state| 'be_' + state }.join(', ')
          ]
          @ignore_matchers = Awspec::Type::Ami::STATES.map { |state| 'be_' + state.tr('-', '_') }
          @describes = []
        end
      end
    end
  end
end

Version data entries

182 entries across 182 versions & 4 rubygems

Version Path
awspec-0.31.0 lib/awspec/generator/doc/type/ami.rb
awspec-0.30.0 lib/awspec/generator/doc/type/ami.rb