Class: PCPEasy::PMAPI::Timeval
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- PCPEasy::PMAPI::Timeval
- Defined in:
- lib/pcp_easy/pmapi/timeval.rb
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
9 10 11 12 13 |
# File 'lib/pcp_easy/pmapi/timeval.rb', line 9 def ==(other) self.class == other.class && \ self[:tv_sec] == other[:tv_sec] && \ self[:tv_usec] == other[:tv_usec] end |