Module: Lex::Lexer::DSL
- Included in:
- Lex::Lexer
- Defined in:
- lib/lex/lexer/dsl.rb
Overview
Lexer DSL
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(klass) ⇒ Object
private
Extend lexer class with DSL methods.
Class Method Details
.included(klass) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Extend lexer class with DSL methods
12 13 14 |
# File 'lib/lex/lexer/dsl.rb', line 12 def self.included(klass) klass.extend(ClassMethods) end |