lib/rhetor/lexical_analyser.rb
def begin_analysis(string)
      fail InvalidString unless string.is_a? String
      @string = string
      @position = 0
      @size = string.size
    end
# Initiates the analysis of the string
# @param string [String] the string to be analyzed
# @return [void]
#
Initiates the analysis of the string
Initiates the analysis of the string
def begin_analysis(string)
      fail InvalidString unless string.is_a? String
      @string = string
      @position = 0
      @size = string.size
    end
def begin_analysis ( string ) fail InvalidString unless string . is_a? String @string = string @position = 0 @size = string . size end
Initiates the analysis of the string
Initiates the analysis of the string
None
void
string
the string to be analyzed
the string to be analyzed