Object
# File power_assert-1.2.0/lib/power_assert/parser.rb, line 9 def initialize(line, path, lineno, binding, assertion_method_name = nil, assertion_proc = nil) @line = line @line_for_parsing = (valid_syntax?(line) ? line : slice_expression(line)).b @path = path @lineno = lineno @binding = binding @proc_local_variables = binding.eval('local_variables').map(&:to_s) @assertion_method_name = assertion_method_name @assertion_proc = assertion_proc end
# File power_assert-1.2.0/lib/power_assert/parser.rb, line 24 def call_paths collect_paths(idents).uniq end