require 'ext/melbourne' require 'melbourne/parser' require 'melbourne/processor' module Melbourne end class String # Creates an AST for a +String+ containing Ruby source code. # # @param [String] name+ # the name of the source (this is usuall the name of the file the code was read from); defaults to +(eval)+ # @param [Fixnum] line # the starting line (if it's not 1 for some reason); defaults to +1+ # # @example Converting Ruby code in a string to an AST # # 'class Test; end'.to_ast # =>