class Scooter::Command

Attributes

global_options[R]
options[R]

Public Class Methods

new(global_options, options) click to toggle source
# File lib/scooter/command.rb, line 5
def initialize(global_options, options)
  @global_options, @options = global_options, options
end

Public Instance Methods

name() click to toggle source
# File lib/scooter/command.rb, line 13
def name
  self.class.name.split('::').last.downcase
end
run() click to toggle source
# File lib/scooter/command.rb, line 9
def run
  fail Scooter::Exception, 'Base command has no implementation of `run`'
end