Sha256: d4d5b55a8602bb33c3058b2202a13122bb2ae28629736e8e432712dacd5fd5c2
Contents?: true
Size: 478 Bytes
Versions: 1
Compression:
Stored size: 478 Bytes
Contents
module MethodLog class MethodCommit def initialize(commit:, method_definition:) @commit = commit @method_definition = method_definition end def ==(other) (commit == other.commit) && (method_definition == other.method_definition) end def hash [commit, method_definition].hash end def to_s "#{commit}: #{method_definition}" end protected attr_reader :commit attr_reader :method_definition end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
method_log-0.0.1 | lib/method_log/method_commit.rb |