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

Inherits:
Faker::Bot::Command show all
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

#options

Instance Method Summary collapse

Methods inherited from Faker::Bot::Command

#initialize

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

Returns:

  • (IO)


20
21
22
23
# File 'lib/faker/bot/commands/list.rb', line 20

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