method

raise_type_error

rails latest stable - Class: ActiveSupport::Duration
raise_type_error(other)
private

No documentation available.

# File activesupport/lib/active_support/duration.rb, line 511
      def raise_type_error(other)
        raise TypeError, "no implicit conversion of #{other.class} into #{self.class}"
      end