Class: TestKitchen::CLI::Kitchen::Init
- Inherits:
-
TestKitchen::CLI::Kitchen
- Object
- TestKitchen::CLI::Kitchen
- TestKitchen::CLI::Kitchen::Init
- Defined in:
- lib/test-kitchen/cli/init.rb
Constant Summary
Constants inherited from TestKitchen::CLI::Kitchen
Instance Attribute Summary
Attributes inherited from TestKitchen::CLI::Kitchen
Instance Method Summary collapse
Methods inherited from TestKitchen::CLI::Kitchen
#command_help?, convert_to_snake_case, inherited, #initialize, list_commands, load_commands, #load_environment, run, #scaffolding?, snake_case_name, subcommand_category, subcommand_class_from, subcommand_not_found!, subcommands, subcommands_by_category, unnamed?
Constructor Details
This class inherits a constructor from TestKitchen::CLI::Kitchen
Instance Method Details
#run ⇒ Object
29 30 31 32 |
# File 'lib/test-kitchen/cli/init.rb', line 29 def run scaffold = TestKitchen::Scaffold.new scaffold.generate(Dir.pwd) end |