Module: Andromeda

Defined in:
lib/andromeda.rb,
lib/andromeda/id.rb,
lib/andromeda/cmd.rb,
lib/andromeda/kit.rb,
lib/andromeda/atom.rb,
lib/andromeda/plan.rb,
lib/andromeda/spot.rb,
lib/andromeda/sync.rb,
lib/andromeda/error.rb,
lib/andromeda/guide.rb,
lib/andromeda/sugar.rb,
lib/andromeda/impl/id.rb,
lib/andromeda/version.rb,
lib/andromeda/impl/atom.rb,
lib/andromeda/impl/to_s.rb,
lib/andromeda/impl_base.rb,
lib/andromeda/copy_clone.rb,
lib/andromeda/map_reduce.rb,
lib/andromeda/pool_guide.rb,
lib/andromeda/guide_track.rb,
lib/andromeda/impl/xor_id.rb,
lib/andromeda/impl/class_attr.rb,
lib/andromeda/impl/proto_plan.rb

Defined Under Namespace

Modules: Atom, Cmd, Guides, Impl, Kit, Sync Classes: DefaultLogger, ExecError, Id, InfoMsg, Plan, SendError, Spot

Constant Summary collapse

VERSION =
'0.1.5'

Class Method Summary collapse

Class Method Details

.filesObject



19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/andromeda.rb', line 19

def self.files
  f = []
  f << 'andromeda/impl/to_s'
  f << 'andromeda/impl/atom'
  f << 'andromeda/impl/xor_id'
  f << 'andromeda/impl/class_attr'
  f << 'andromeda/impl/proto_plan'

  f << 'andromeda/id'
  f << 'andromeda/atom'
  f << 'andromeda/error'
  f << 'andromeda/copy_clone'
  f << 'andromeda/guide_track'
  f << 'andromeda/pool_guide'

  f << 'andromeda/spot'
  f << 'andromeda/plan'
  f << 'andromeda/sync'
  f << 'andromeda/sugar'

  f << 'andromeda/kit'
  f << 'andromeda/cmd'
  f << 'andromeda/map_reduce'
  f
end

.load_relative(f) ⇒ Object



45
46
47
48
# File 'lib/andromeda.rb', line 45

def self.load_relative(f)
  path = "#{File.join(File.dirname(caller[0]), f)}.rb"
  load path
end

.reload!Object



50
51
52
# File 'lib/andromeda.rb', line 50

def self.reload!
  files.each { |f| load_relative f }
end