Class: Cambridge::Scanner
- Inherits:
-
Object
- Object
- Cambridge::Scanner
- Defined in:
- lib/cambridge/scanner.rb
Instance Method Summary collapse
-
#initialize ⇒ Scanner
constructor
A new instance of Scanner.
- #parse(line) ⇒ Object
Constructor Details
Instance Method Details
#parse(line) ⇒ Object
8 9 10 11 |
# File 'lib/cambridge/scanner.rb', line 8 def parse(line) @line = line @parser.parse @line end |