Module: Ground::Protocol::Helper

Included in:
Ground
Defined in:
lib/ground/protocol/helper.rb

Constant Summary collapse

Ridge =
Ground::Ridge

Instance Method Summary collapse

Instance Method Details

#help(*args, &p) ⇒ Object



7
8
9
10
11
12
13
14
15
# File 'lib/ground/protocol/helper.rb', line 7

def help(*args, &p)
  if args.first == :all_states
    help Ground::State, &p
  else
    args.each {|obj|
      obj.class_eval &p if block_given?
    }
  end
end