Class: Faker::Bot::Commands::Search
- Inherits:
-
Faker::Bot::Command
- Object
- Faker::Bot::Command
- Faker::Bot::Commands::Search
- Defined in:
- lib/faker/bot/commands/search.rb
Instance Attribute Summary
Attributes inherited from Faker::Bot::Command
Instance Method Summary collapse
Methods inherited from Faker::Bot::Command
Constructor Details
This class inherits a constructor from Faker::Bot::Command
Instance Method Details
#execute(input, output: $stdout) ⇒ Object
10 11 12 13 |
# File 'lib/faker/bot/commands/search.rb', line 10 def execute(input, output: $stdout) result = Reflectors::Search.call(input) render(result, output) end |