Method: Symbol#~@
- Defined in:
- lib/nano/symbol/not.rb
#~@ ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/nano/symbol/not.rb', line 8 def ~@ if self.to_s.slice(0,1) == '~' :"#{self.to_s[1..-1]}" else :"~#{self}" end end |
8 9 10 11 12 13 14 |
# File 'lib/nano/symbol/not.rb', line 8 def ~@ if self.to_s.slice(0,1) == '~' :"#{self.to_s[1..-1]}" else :"~#{self}" end end |