method
raise_type_error
v5.1.7 -
Show latest stable
- Class:
ActiveSupport::Duration
raise_type_error(other)private
No documentation available.
# File activesupport/lib/active_support/duration.rb, line 424
def raise_type_error(other)
raise TypeError, "no implicit conversion of #{other.class} into #{self.class}"
end