Class: MkAcl::Parser
- Inherits:
-
Object
- Object
- MkAcl::Parser
- Defined in:
- lib/mikras_utils/mkacl/parser.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#symtab ⇒ Object
readonly
Returns the value of attribute symtab.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(file) ⇒ Parser
constructor
A new instance of Parser.
- #parse ⇒ Object
Constructor Details
#initialize(file) ⇒ Parser
Returns a new instance of Parser.
7 8 9 10 |
# File 'lib/mikras_utils/mkacl/parser.rb', line 7 def initialize(file) @file = file @symtab = SimpleSymtab::SimpleSymtab.new end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
4 5 6 |
# File 'lib/mikras_utils/mkacl/parser.rb', line 4 def file @file end |
#symtab ⇒ Object (readonly)
Returns the value of attribute symtab.
5 6 7 |
# File 'lib/mikras_utils/mkacl/parser.rb', line 5 def symtab @symtab end |
Class Method Details
Instance Method Details
#parse ⇒ Object
11 |
# File 'lib/mikras_utils/mkacl/parser.rb', line 11 def parse() parse_spec end |