Class: RDoc::RubyToken::TkSYMBOL

Inherits:
Object
  • Object
show all
Defined in:
lib/rdoc/ruby_token.rb

Instance Method Summary collapse

Instance Method Details

#to_symObject


452
453
454
# File 'lib/rdoc/ruby_token.rb', line 452

def to_sym
  @sym ||= text[1..-1].intern
end