Class: Object

Inherits:
BasicObject
Defined in:
lib/proscenium/core_ext/object/css_module_ivars.rb

Instance Method Summary collapse

Instance Method Details

#instance_variable_defined?(name) ⇒ Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/proscenium/core_ext/object/css_module_ivars.rb', line 12

def instance_variable_defined?(name)
  name.is_a?(::Proscenium::CssModule::Name) ? super(name.to_sym) : super
end

#instance_variable_get(name) ⇒ Object



4
5
6
# File 'lib/proscenium/core_ext/object/css_module_ivars.rb', line 4

def instance_variable_get(name)
  name.is_a?(::Proscenium::CssModule::Name) ? super(name.to_sym) : super
end

#instance_variable_set(name, obj) ⇒ Object



8
9
10
# File 'lib/proscenium/core_ext/object/css_module_ivars.rb', line 8

def instance_variable_set(name, obj)
  name.is_a?(::Proscenium::CssModule::Name) ? super(name.to_sym, obj) : super
end

#remove_instance_variable(name) ⇒ Object



16
17
18
# File 'lib/proscenium/core_ext/object/css_module_ivars.rb', line 16

def remove_instance_variable(name)
  name.is_a?(::Proscenium::CssModule::Name) ? super(name.to_sym) : super
end