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