Class: Awspec::Toolbox

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

Instance Method Summary collapse

Instance Method Details

#docgenObject



6
7
8
# File 'lib/awspec/toolbox.rb', line 6

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

#template(type) ⇒ Object



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

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