Class: Kleene::Parser
- Inherits:
-
Object
- Object
- Kleene::Parser
- Defined in:
- lib/kleene/parser.rb
Instance Method Summary collapse
Instance Method Details
#parse(pattern) ⇒ Object
4 5 6 7 |
# File 'lib/kleene/parser.rb', line 4 def parse(pattern) ast = Regexp::Parser.parse(pattern) ast end |