Class: Object

Inherits:
BasicObject
Defined in:
lib/wadl/cheap_schema.rb

Instance Method Summary (collapse)

Instance Method Details

- (Boolean) instance_variable_defined?(sym)

Returns:

  • (Boolean)


395
# File 'lib/wadl/cheap_schema.rb', line 395

def instance_variable_defined?(sym); instance_eval("defined?(#{sym})"); end