Class: Inversion::Template::CodeTag::TokenPattern
- Inherits:
-
Ripper::TokenPattern
- Object
- Ripper::TokenPattern
- Inversion::Template::CodeTag::TokenPattern
- Defined in:
- lib/inversion/template/codetag.rb
Overview
A subclass of Ripper::TokenPattern that binds matches to the beginning and end of the matched string.
Instance Attribute Summary collapse
-
#source ⇒ Object
readonly
the token pattern’s source string.
Instance Attribute Details
#source ⇒ Object (readonly)
the token pattern’s source string
44 45 46 |
# File 'lib/inversion/template/codetag.rb', line 44 def source @source end |