Sha256: eace9e61ce644ccdafcbf20a3c18362aef375bd6a75a358e2a558955bb052e43
Contents?: true
Size: 320 Bytes
Versions: 4
Compression:
Stored size: 320 Bytes
Contents
class SleepyPenguin::SignalFD::SigInfo # :nodoc: def to_hash Hash[*MEMBERS.inject([]) { |ary,k| ary << k << __send__(k) }] end def hash to_hash.hash end def inspect "#<#{self.class}:#{to_hash.inspect}>" end def ==(other) other.kind_of?(self.class) && to_hash == other.to_hash end end
Version data entries
4 entries across 4 versions & 1 rubygems