Libraries
»
duration
(0.1.0)
»
Index
»
Duration
»
#+
Method: Duration#+
Defined in:
lib/duration.rb
#
+
(other) ⇒
Object
162 163 164
# File 'lib/duration.rb', line 162
def
+
(
other
)
Duration
.
new
(
@total
+
other
.
to_i
)
end