method

instance_variable_defined?

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: Object
instance_variable_defined?(variable) 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/core_ext/object/instance_variables.rb, line 4
    def instance_variable_defined?(variable)
      instance_variables.include?(variable.to_s)
    end
Register or log in to add new notes.