Class: Hanami::RSpec::Commands::Generate::Slice Private
- Inherits:
-
CLI::Command
- Object
- CLI::Command
- Hanami::RSpec::Commands::Generate::Slice
- Defined in:
- lib/hanami/rspec/commands.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#call(options) ⇒ Object
private
FIXME: dry-cli kwargs aren’t correctly forwarded in Ruby 3.
Instance Method Details
#call(options) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
FIXME: dry-cli kwargs aren’t correctly forwarded in Ruby 3
118 119 120 121 122 123 |
# File 'lib/hanami/rspec/commands.rb', line 118 def call(, **) slice = inflector.underscore(Shellwords.shellescape([:name])) generator = Generators::Slice.new(fs: fs, inflector: inflector) generator.call(slice) end |