class Awspec::Generator::Doc::Type::Subnet

Public Class Methods

new() click to toggle source
Calls superclass method Awspec::Generator::Doc::Type::Base::new
# 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