Class: Awspec::Generator::Doc::Type::Ebs
- Defined in:
- lib/awspec/generator/doc/type/ebs.rb
Instance Method Summary collapse
-
#initialize ⇒ Ebs
constructor
A new instance of Ebs.
Methods inherited from Base
#collect_matchers, #doc_template, #generate_doc, #sort_num, #type_name
Constructor Details
#initialize ⇒ Ebs
Returns a new instance of Ebs.
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/awspec/generator/doc/type/ebs.rb', line 5 def initialize super @type_name = 'EBS' @type = Awspec::Type::Ebs.new('my-ebs') @ret = @type.resource_via_client @matchers = [ Awspec::Type::Ebs::STATES.map { |state| 'be_' + state.tr('-', '_') }.join(', ') ] @ignore_matchers = Awspec::Type::Ebs::STATES.map { |state| 'be_' + state.tr('-', '_') } @describes = [] end |