module Motion::Launchpad

Constants

VERSION

Attributes

instance[RW]

Public Class Methods

configure(*args, &block) click to toggle source
# File lib/motion/launchpad.rb, line 8
def configure(*args, &block)
  self.instance = Schedule.new(*args) if instance.nil?
  instance.configure(&block) if block_given?
  instance
end
run!() click to toggle source
# File lib/motion/launchpad.rb, line 14
def run!
  instance.run!
end

Private Instance Methods

configure(*args, &block) click to toggle source
# File lib/motion/launchpad.rb, line 8
def configure(*args, &block)
  self.instance = Schedule.new(*args) if instance.nil?
  instance.configure(&block) if block_given?
  instance
end
run!() click to toggle source
# File lib/motion/launchpad.rb, line 14
def run!
  instance.run!
end