Module: Inversion::RipperAdditions
- Included in:
- Ripper::TokenPattern::MatchData
- Defined in:
- lib/inversion/monkeypatches.rb
Overview
Monkeypatch mixin to expose the ‘tokens’ instance variable of Ripper::TokenPattern::MatchData. Included in Ripper::TokenPattern::MatchData.
Instance Attribute Summary collapse
-
#tokens ⇒ Object
readonly
the array of token tuples.
Instance Attribute Details
#tokens ⇒ Object (readonly)
the array of token tuples
13 14 15 |
# File 'lib/inversion/monkeypatches.rb', line 13 def tokens @tokens end |