Class: Spree::DeprecatedConfigurableClass

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

Defined Under Namespace

Classes: DeprecationProxy

Class Method Summary collapse

Class Method Details

.method_missing(method_name, *args, &block) ⇒ Object



9
10
11
12
# File 'app/models/spree/deprecated_configurable_class.rb', line 9

def self.method_missing(method_name, *args, &block)
  @deprecation_proxy ||= DeprecationProxy.new
  @deprecation_proxy.send(method_name, args, block)
end

.new(*_args, &_block) ⇒ Object



5
6
7
# File 'app/models/spree/deprecated_configurable_class.rb', line 5

def self.new(*_args, &_block)
  @deprecation_proxy ||= DeprecationProxy.new
end

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

Returns:

  • (Boolean)


14
15
16
# File 'app/models/spree/deprecated_configurable_class.rb', line 14

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