Class: Mach::TimeSpec

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/mach/time_spec.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject


8
9
10
11
12
13
# File 'lib/mach/time_spec.rb', line 8

def to_s
  "#<%s tv_sec=%d tv_nsec=%d>" % [self.class,
                                  self[:tv_sec],
                                  self[:tv_nsec]]
  
end