class Vizier::CachingPresenterConfig

A presenter configuration that caches the type lookup

For development use reloading is convenient, but in production the constants should not be redefined. We cache them here to avoid repeated global lookups.

Public Instance Methods

policy() click to toggle source
Calls superclass method
# File lib/vizier/caching_presenter_config.rb, line 18
def policy
  @policy ||= super
end
presenter() click to toggle source
Calls superclass method
# File lib/vizier/caching_presenter_config.rb, line 14
def presenter
  @presenter ||= super
end
type() click to toggle source
Calls superclass method
# File lib/vizier/caching_presenter_config.rb, line 10
def type
  @type ||= super
end