Class: Awspec::Generator::Doc::Type::BatchComputeEnvironment
- Defined in:
- lib/awspec/generator/doc/type/batch_compute_environment.rb
Instance Method Summary collapse
-
#initialize ⇒ BatchComputeEnvironment
constructor
A new instance of BatchComputeEnvironment.
Methods inherited from Base
#collect_matchers, #doc_template, #generate_doc, #sort_num, #type_name
Constructor Details
#initialize ⇒ BatchComputeEnvironment
Returns a new instance of BatchComputeEnvironment.
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/awspec/generator/doc/type/batch_compute_environment.rb', line 7 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 |