Class: Faker::Bot::Commands::Search Private
- Inherits:
-
Faker::Bot::Command
- Object
- Faker::Bot::Command
- Faker::Bot::Commands::Search
- Defined in:
- lib/faker/bot/commands/search.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.
Runs a search against [Faker<Base>] methods and returns matching results
Instance Attribute Summary
Attributes inherited from Faker::Bot::Command
Instance Method Summary collapse
-
#execute(input, output: $stdout) ⇒ IO
private
Execute the ‘search` command.
Methods inherited from Faker::Bot::Command
Constructor Details
This class inherits a constructor from Faker::Bot::Command
Instance Method Details
#execute(input, output: $stdout) ⇒ IO
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.
Execute the ‘search` command
20 21 22 23 |
# File 'lib/faker/bot/commands/search.rb', line 20 def execute(input, output: $stdout) result = Reflectors::Search.call(input) render(result, output) end |