Module: H

Defined in:
lib/hexp/h.rb

Class Method Summary collapse

Class Method Details

.[](*args) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/hexp/h.rb', line 5

def self.[](*args)
  if args.first.is_a? Symbol
    Hexp::Node[*args]
  else
    Hexp::List[*args]
  end
end