class FakerBot::Commands::List

Public Class Methods

new(options) click to toggle source
# File lib/fakerbot/commands/list.rb, line 8
def initialize(options)
  @options = options
end

Public Instance Methods

execute(output: $stdout) click to toggle source
# File lib/fakerbot/commands/list.rb, line 12
def execute(output: $stdout)
  result = FakerBot::Reflector.list(show_methods: options[:show_methods])
  render result, output
end