Class: FakerBot::Commands::Search
- Inherits:
-
FakerBot::Command
- Object
- FakerBot::Command
- FakerBot::Commands::Search
- Defined in:
- lib/fakerbot/commands/search.rb
Instance Attribute Summary
Attributes inherited from FakerBot::Command
Instance Method Summary collapse
- #execute(input, output: $stdout) ⇒ Object
-
#initialize(options) ⇒ Search
constructor
A new instance of Search.
Constructor Details
#initialize(options) ⇒ Search
Returns a new instance of Search.
8 9 10 |
# File 'lib/fakerbot/commands/search.rb', line 8 def initialize() = end |
Instance Method Details
#execute(input, output: $stdout) ⇒ Object
12 13 14 |
# File 'lib/fakerbot/commands/search.rb', line 12 def execute(input, output: $stdout) render FakerBot::Reflector.find(input), output end |