Class: Spree::DeprecatedConfigurableClass::DeprecationProxy

Inherits:
Object
  • Object
show all
Defined in:
app/models/spree/deprecated_configurable_class.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(_method_name, *_args, &_block) ⇒ Object



19
20
21
22
# File 'app/models/spree/deprecated_configurable_class.rb', line 19

def method_missing(_method_name, *_args, &_block)
  issue_deprecation_warning
  self
end

Instance Method Details

#respond_to_missing?(_method_name, _include_private = false) ⇒ Boolean

Returns:

  • (Boolean)


24
25
26
# File 'app/models/spree/deprecated_configurable_class.rb', line 24

def respond_to_missing?(_method_name, _include_private = false)
  true
end