Class: Inversion::Template::CodeTag::TokenPattern

Inherits:
Ripper::TokenPattern
  • Object
show all
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

Instance Attribute Details

#sourceObject (readonly)

the token pattern’s source string



44
45
46
# File 'lib/inversion/template/codetag.rb', line 44

def source
  @source
end