class Xcode::Project::Config::IOScanner
Constants
- DELIMS
- TOKENS
Attributes
term[R]
Public Class Methods
new(io)
click to toggle source
# File lib/xcode/project/config/io_scanner.rb, line 10 def initialize(io) @io = io end
Public Instance Methods
delimit()
click to toggle source
# File lib/xcode/project/config/io_scanner.rb, line 25 def delimit @term = '' while c = @io.getc return c if DELIMS.include? c term << c end return nil end
tokenize()
click to toggle source
# File lib/xcode/project/config/io_scanner.rb, line 14 def tokenize @term = '' while c = @io.getc return c if TOKENS.include? c term << c end return nil end