Class: Awspec::Generator::Doc::Type::BatchComputeEnvironment

Inherits:
Base
  • Object
show all
Defined in:
lib/awspec/generator/doc/type/batch_compute_environment.rb

Instance Method Summary collapse

Methods inherited from Base

#collect_matchers, #doc_template, #generate_doc, #sort_num, #type_name

Constructor Details

#initializeBatchComputeEnvironment

Returns a new instance of BatchComputeEnvironment.



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/awspec/generator/doc/type/batch_compute_environment.rb', line 5

def initialize
  super
  @type_name = 'BatchComputeEnvironment'
  @type = Awspec::Type::BatchComputeEnvironment.new('my-batch-compute-environment')
  @ret = @type.resource_via_client
  @matchers = [
    Awspec::Type::BatchComputeEnvironment::STATES.map { |state| 'be_' + state.downcase }.join(', '),
    Awspec::Type::BatchComputeEnvironment::TYPES.map { |type| 'be_' + type.downcase }.join(', ')
  ]
  @ignore_matchers = [
    Awspec::Type::BatchComputeEnvironment::STATES.map { |state| 'be_' + state.downcase }.join(', '),
    Awspec::Type::BatchComputeEnvironment::TYPES.map { |type| 'be_' + type.downcase }.join(', ')
  ]
  @describes = []
end