Method: Float#to_i

Defined in:
lib/units/standard.rb

#to_iObject



136
137
138
139
140
141
142
143
# File 'lib/units/standard.rb', line 136

def to_i
  case kind
  when :time
    to_seconds._to_i
  when :size
    to_bytes._to_i
  end
end