Class: Faker::Bot::Commands::List

Inherits:
Faker::Bot::Command show all
Defined in:
lib/faker/bot/commands/list.rb

Instance Attribute Summary

Attributes inherited from Faker::Bot::Command

#options

Instance Method Summary collapse

Methods inherited from Faker::Bot::Command

#initialize, #render

Constructor Details

This class inherits a constructor from Faker::Bot::Command

Instance Method Details

#execute(output: $stdout) ⇒ Object



10
11
12
13
# File 'lib/faker/bot/commands/list.rb', line 10

def execute(output: $stdout)
  result = Reflectors::List.call(options)
  render(result, output)
end