Class: Faker::Bot::Base
- Inherits:
-
Thor
- Object
- Thor
- Faker::Bot::Base
- Defined in:
- lib/faker/bot.rb
Constant Summary collapse
- Error =
Class.new(StandardError)
Instance Method Summary collapse
Instance Method Details
#list(filter = nil) ⇒ Object
27 28 29 30 31 32 33 34 |
# File 'lib/faker/bot.rb', line 27 def list(filter = nil) if [:help] invoke :help, ['list'] else = .merge(filter: filter) Faker::Bot::Commands::List.new().execute end end |