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

Instance Attribute Details

#tokensObject (readonly)

the array of token tuples



13
14
15
# File 'lib/inversion/monkeypatches.rb', line 13

def tokens
  @tokens
end