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