Class: PowerAssert::Parser::RipperParser

Inherits:
Parser
  • Object
show all
Defined in:
lib/power_assert/parser.rb

Instance Method Summary collapse

Instance Method Details

#identsObject



57
58
59
60
61
62
63
# File 'lib/power_assert/parser.rb', line 57

def idents
  @idents ||=
    begin
      require 'ripper'
      extract_idents(Ripper.sexp(@line_for_parsing))
    end
end