public Method

Object.instance_variable_defined?(variable)

There's no documentation for this item.

Source Code

# File active_support/core_ext/object/instance_variables.rb, line 4
def instance_variable_defined?(variable)
  instance_variables.include?(variable.to_s)
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.