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