method

instance_of?

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ActiveSupport::Duration
instance_of?(klass) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/duration.rb, line 308
    def instance_of?(klass) # :nodoc:
      Duration == klass || value.instance_of?(klass)
    end
Register or log in to add new notes.