Libraries
»
astrapi
(0.0.7)
»
Index
»
Astrapi
»
Lexer
»
#init
Method: Astrapi::Lexer#init
Defined in:
lib/lexer.rb
#
init
(str) ⇒
Object
67 68 69 70
# File 'lib/lexer.rb', line 67
def
init
str
@ss
=
StringScanner
.
new
(
str
)
@line
=
0
end