Sha256: 217527d0e4de74dc125048d695071430bf3120fd3ada68c607b0a8a33bb21f39

Contents?: true

Size: 580 Bytes

Versions: 8

Compression:

Stored size: 580 Bytes

Contents

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
awspec-0.25.3 lib/awspec/generator/doc/type/ec2.rb
awspec-0.25.2 lib/awspec/generator/doc/type/ec2.rb
awspec-0.25.1 lib/awspec/generator/doc/type/ec2.rb
awspec-0.25.0 lib/awspec/generator/doc/type/ec2.rb
awspec-0.24.2 lib/awspec/generator/doc/type/ec2.rb
awspec-0.24.1 lib/awspec/generator/doc/type/ec2.rb
awspec-0.24.0 lib/awspec/generator/doc/type/ec2.rb
awspec-0.23.0 lib/awspec/generator/doc/type/ec2.rb