class Awspec::Generator::Doc::Type::Ami

Public Class Methods

new() click to toggle source
Calls superclass method
# File lib/awspec/generator/doc/type/ami.rb, line 5
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