Module: EnumerableConstant

Defined in:
lib/spree_core/enumerable_constants.rb

Defined Under Namespace

Modules: VERSION Classes: Base, Tupple

Class Method Summary collapse

Class Method Details

.anyObject



9
10
11
# File 'lib/spree_core/enumerable_constants.rb', line 9

def self.any
  [any_value, '[any]']
end

.any_valueObject

default (overridable) value for any



5
6
7
# File 'lib/spree_core/enumerable_constants.rb', line 5

def self.any_value
  -1
end