Skip to content

Commit

Permalink
Align colon count
Browse files Browse the repository at this point in the history
  • Loading branch information
jmettraux committed Mar 13, 2024
1 parent 6f0bbb7 commit 317d725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fugit/duration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def add(a)
when Numeric then add_numeric(a)
when Fugit::Duration then add_duration(a)
when String then add_duration(self.class.parse(a))
when ::Time, EtOrbi::EoTime then add_to_time(a)
when ::Time, ::EtOrbi::EoTime then add_to_time(a)
else fail ArgumentError.new(
"cannot add #{a.class} instance to a Fugit::Duration")
end
Expand Down

0 comments on commit 317d725

Please sign in to comment.