lib/sdl4r/parser/reader.rb in sdl4r-0.9.4 vs lib/sdl4r/parser/reader.rb in sdl4r-0.9.5

- old
+ new

@@ -1,5 +1,8 @@ +#!/usr/bin/env ruby -w +# encoding: UTF-8 + #-- # Simple Declarative Language (SDL) for Ruby # Copyright 2005 Ikayzo, inc. # # This program is free software. You can distribute or modify it under the @@ -21,12 +24,9 @@ # 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 # :nodoc: all - - RUBY_1_8_OR_LESS = require 'jcode' - # +io+ an open IO from which the characters are read. def initialize(io) raise ArgumentError, "io == nil" if io.nil?