Class: FakerBot::Command

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/fakerbot/command.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



12
13
14
# File 'lib/fakerbot/command.rb', line 12

def options
  @options
end

Instance Method Details

#render(result, output) ⇒ Object



14
15
16
# File 'lib/fakerbot/command.rb', line 14

def render(result, output)
  FakerBot::Renderer.call(result, options, output)
end