Method: Symbol#succ

Defined in:
lib/nano/symbol/succ.rb

#succObject

Successor method for symobol. This simply converts the symbol to a string uses String#succ and then converts it back to a symbol.

:a.succ => :b

– In the future I would like this to work more like a simple chracerter dial. ++



14
15
16
# File 'lib/nano/symbol/succ.rb', line 14

def succ
  self.to_s.succ.intern
end