Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/wat-shell.rb

Instance Method Summary collapse

Instance Method Details

#-@Object



26
27
28
# File 'lib/wat-shell.rb', line 26

def -@
  "-#{self}"
end

#/(other) ⇒ Object



30
31
32
# File 'lib/wat-shell.rb', line 30

def /(other)
  [self, other].join()
end