Sha256: ac6f2df0473eca4b8a1f92dd8b0eb3d990aeb457f2ae5f639f3d2f4e3cce8166

Contents?: true

Size: 604 Bytes

Versions: 31

Compression:

Stored size: 604 Bytes

Contents

module Capricorn
  
  # The actor class provides the mechanisme for scheduling the execution of seperate tasks.
  class Actor
    
    autoload :Actions, File.dirname(__FILE__)+'/actor/actions'
    
    include Capricorn::Actor::Actions
    
    attr_reader :system, :satellite
    
    action :install_satellite, :uninstall_satellite, :link_satellite
    action :install_engine,    :uninstall_engine,    :update_engine
    
    # create a new actor for the provided system and satellite
    def initialize(system, satellite)
      @system    = system
      @satellite = satellite
    end
    
  end
end

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
simonmenke-capricorn-0.2.00 lib/capricorn/actor.rb
simonmenke-capricorn-0.2.03 lib/capricorn/actor.rb
simonmenke-capricorn-0.2.07 lib/capricorn/actor.rb
simonmenke-capricorn-0.2.25 lib/capricorn/actor.rb
simonmenke-capricorn-0.2.26 lib/capricorn/actor.rb
capricorn-0.2.25 lib/capricorn/actor.rb
capricorn-0.2.24 lib/capricorn/actor.rb
capricorn-0.2.23 lib/capricorn/actor.rb
capricorn-0.2.22 lib/capricorn/actor.rb
capricorn-0.2.21 lib/capricorn/actor.rb
capricorn-0.2.20 lib/capricorn/actor.rb
capricorn-0.2.19 lib/capricorn/actor.rb
capricorn-0.2.18 lib/capricorn/actor.rb
capricorn-0.2.17 lib/capricorn/actor.rb
capricorn-0.2.16 lib/capricorn/actor.rb
capricorn-0.2.15 lib/capricorn/actor.rb
capricorn-0.2.14 lib/capricorn/actor.rb
capricorn-0.2.13 lib/capricorn/actor.rb
capricorn-0.2.12 lib/capricorn/actor.rb
capricorn-0.2.11 lib/capricorn/actor.rb