Class: Namarara::Lexer
- Inherits:
-
Rly::Lex
- Object
- Rly::Lex
- Namarara::Lexer
- Defined in:
- lib/namarara/lexer.rb
Instance Attribute Summary collapse
-
#logger ⇒ Object
readonly
Returns the value of attribute logger.
Instance Method Summary collapse
-
#initialize(logger = nil) ⇒ Lexer
constructor
A new instance of Lexer.
Constructor Details
#initialize(logger = nil) ⇒ Lexer
Returns a new instance of Lexer.
26 27 28 29 |
# File 'lib/namarara/lexer.rb', line 26 def initialize(logger = nil) @logger = logger super() end |
Instance Attribute Details
#logger ⇒ Object (readonly)
Returns the value of attribute logger.
5 6 7 |
# File 'lib/namarara/lexer.rb', line 5 def logger @logger end |