Class: Rodbot::CLI::Commands::New
- Inherits:
-
Rodbot::CLI::Command
- Object
- Dry::CLI::Command
- Rodbot::CLI::Command
- Rodbot::CLI::Commands::New
- Defined in:
- lib/rodbot/cli/commands/new.rb
Instance Method Summary collapse
Methods inherited from Rodbot::CLI::Command
Instance Method Details
#rescued_call(path:) ⇒ Object
13 14 15 16 17 |
# File 'lib/rodbot/cli/commands/new.rb', line 13 def rescued_call(path:, **) Rodbot::Generator .new(Rodbot.env.gem.join('lib', 'templates', 'new')) .write(Pathname(path)) end |