Sha256: b7c62b7e9f097c84cf6ec1c8ddceb5afb16f32dfaf4f386b693b1b8eae1f58ba
Contents?: true
Size: 335 Bytes
Versions: 7
Compression:
Stored size: 335 Bytes
Contents
# :stopdoc: class SleepyPenguin::SignalFD::SigInfo 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 # :startdoc:
Version data entries
7 entries across 7 versions & 1 rubygems