Module: Antlers::YieldLexeme
- Extended by:
- YieldLexeme
- Includes:
- Lexeme
- Included in:
- YieldLexeme
- Defined in:
- lib/lexemes/yield_lexeme.rb
Constant Summary
Constants included from Lexeme
Instance Method Summary collapse
Instance Method Details
#lexeme ⇒ Object
14 15 16 |
# File 'lib/lexemes/yield_lexeme.rb', line 14 def lexeme(**) { slot: :default } end |
#match?(keywords:) ⇒ Boolean
10 11 12 |
# File 'lib/lexemes/yield_lexeme.rb', line 10 def match?(keywords:, **) keywords.keys.include?(':slot') end |