Flowdock
method

parse_symbol_in_arg

Importance_0
v1_9_1_378 - Show latest stable - 0 notes - Class: Ruby
parse_symbol_in_arg() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rdoc/parser/ruby.rb, line 2524
  def parse_symbol_in_arg
    case tk = get_tk
    when TkSYMBOL
      tk.text.sub(/^:/, '')
    when TkSTRING
      eval @read[-1]
    else
      warn("Expected symbol or string, got #{tk.inspect}") if $DEBUG_RDOC
      nil
    end
  end
Register or log in to add new notes.