Class: CustomERB::Compiler::SimpleScanner
- Defined in:
- lib/ontomde-core/customERB.rb
Overview
:nodoc:
Constant Summary
Constants inherited from Scanner
CustomERB::Compiler::Scanner::SplitRegexp
Instance Attribute Summary
Attributes inherited from Scanner
Instance Method Summary collapse
Methods inherited from Scanner
default_scanner=, #initialize, make_scanner, regist_scanner
Constructor Details
This class inherits a constructor from CustomERB::Compiler::Scanner
Instance Method Details
#scan ⇒ Object
409 410 411 412 413 414 415 416 |
# File 'lib/ontomde-core/customERB.rb', line 409 def scan @src.each do |line| line.split(SplitRegexp).each do |token| next if token.empty? yield(token) end end end |