Class: NavigatorRails::Constraint

Inherits:
Object
  • Object
show all
Extended by:
Contextable
Includes:
Singleton
Defined in:
lib/navigator_rails/constraint.rb

Instance Attribute Summary

Attributes included from Contextable

#context

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Contextable

patch_context, process

Class Method Details

.defaultObject



6
# File 'lib/navigator_rails/constraint.rb', line 6

def default; NavigatorRails::Constraint.instance.default; end

Instance Method Details

#defaultObject



8
9
10
# File 'lib/navigator_rails/constraint.rb', line 8

def default
  NavigatorRails.config[:default_constraint]
end