Module: Reality::Methods

Extended by:
Forwardable
Included in:
Reality, Reality
Defined in:
lib/reality/methods.rb,
lib/reality/shortcuts.rb

Instance Method Summary collapse

Instance Method Details

#E(*arg) ⇒ Object



3
4
5
# File 'lib/reality/shortcuts.rb', line 3

def E(*arg)
  Entity(*arg)
end

#Entity(name) ⇒ Object



5
6
7
# File 'lib/reality/methods.rb', line 5

def Entity(name)
  Entity.load(name)
end

#L(*arg) ⇒ Object



7
8
9
# File 'lib/reality/shortcuts.rb', line 7

def L(*arg)
  List(*arg)
end

#List(*names) ⇒ Object



9
10
11
# File 'lib/reality/methods.rb', line 9

def List(*names)
  List.new(*names)
end

#Measure(*arg) ⇒ Object



13
14
15
# File 'lib/reality/methods.rb', line 13

def Measure(*arg)
  Measure.new(*arg)
end