lib/sdl4r/parser/reader.rb in sdl4r-0.9.2 vs lib/sdl4r/parser/reader.rb in sdl4r-0.9.3

- old
+ new

@@ -1,5 +1,6 @@ +#-- # Simple Declarative Language (SDL) for Ruby # Copyright 2005 Ikayzo, inc. # # This program is free software. You can distribute or modify it under the # terms of the GNU Lesser General Public License version 2.1 as published by @@ -10,18 +11,19 @@ # See the GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with this program; if not, contact the Free Software Foundation, Inc., # 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +#++ module SDL4R class Parser # Gives access to the characters read to the Parser. # This class was designed to gather the handling of the UTF-8 issues in one place and shield the # Parser class from these problems. - class Reader + class Reader # :nodoc: all RUBY_1_8_OR_LESS = require 'jcode' # +io+ an open IO from which the characters are read.