Class: Awspec::Toolbox

Inherits:
Thor
  • Object
show all
Defined in:
lib/awspec/toolbox.rb

Instance Method Summary collapse

Instance Method Details

#docgenObject



4
5
6
# File 'lib/awspec/toolbox.rb', line 4

def docgen
  puts Awspec::Generator::Doc::Type.generate_doc
end

#template(type) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/awspec/toolbox.rb', line 10

def template(type)
  if options[:account_attribute]
    puts Awspec::Generator::Template.(type)
  else
    puts Awspec::Generator::Template.generate(type)
  end
end