Commit 2a81bafe authored by Coraline Ehmke's avatar Coraline Ehmke

Totally lost

parent 46f8e691
......@@ -6,6 +6,7 @@ may be extracted from a given class.
* Report cohorts with line numbers
* Ignore data clumps called in "loose" class methods (e.g. attr_accessor)
* Consider weighting based on match type
......@@ -5,7 +5,7 @@ module Snuffle
include PoroPlus
include Ephemeral::Base
attr_accessor :index, :range, :source
attr_accessor :line_number, :range, :content
def self.containing(locs, start_index, end_index)
locs.inject([]) do |a, loc|
require 'snuffle'
def hash_clump
@hash_clump ||=
def string_clump
@string_clump ||=
def source_file
@source_file ||= "spec/fixtures/program_2.rb")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment