Sha256: 902461da048f9375d3dc075a912d17331188f5576856cfc30832b513f5843364
Contents?: true
Size: 426 Bytes
Versions: 6
Compression:
Stored size: 426 Bytes
Contents
module MethodLog class MethodDefinition attr_reader :source_file def initialize(source_file, lines) @source_file = source_file @lines = lines end def ==(other) (source_file == other.source_file) && (lines == other.lines) end def hash [source_file, lines].hash end def source source_file.snippet(lines) end protected attr_reader :lines end end
Version data entries
6 entries across 6 versions & 1 rubygems