class Object
Public Instance Methods
identify_comment()
click to toggle source
# File lib/gettext/tools/parser/ruby.rb, line 66 def identify_comment @ltype = "#" get_readed # skip the hash sign itself while ch = getc if ch == "\n" @ltype = nil ungetc break end end return Token(TkCOMMENT_WITH_CONTENT, get_readed) end