Class: Awspec::Toolbox
- Inherits:
-
Thor
- Object
- Thor
- Awspec::Toolbox
- Defined in:
- lib/awspec/toolbox.rb
Instance Method Summary collapse
Instance Method Details
#docgen ⇒ Object
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 [:account_attribute] puts Awspec::Generator::Template.generate_account_attribute(type) else puts Awspec::Generator::Template.generate(type) end end |