lib/origami/name.rb in origami-1.2.5 vs lib/origami/name.rb in origami-1.2.6

- old
+ new

@@ -105,11 +105,11 @@ def to_s #:nodoc: super(TOKENS.first + Name.expand(@value)) end - def self.parse(stream) #:nodoc: + def self.parse(stream, parser = nil) #:nodoc: offset = stream.pos name = if stream.scan(@@regexp).nil? @@ -161,10 +161,10 @@ name.gsub(forbiddenchars) do |c| "#" + c[0].ord.to_s(16).rjust(2,"0") end end - def real_type ; Name end + def self.native_type ; Name end end end