Sha256: 12236ce9843967da26770990583d657fd636b0ed65e34d09b131ed3d6be57219

Contents?: true

Size: 316 Bytes

Versions: 1

Compression:

Stored size: 316 Bytes

Contents

module CanTango
  class Config
    class Engines
      class PermitEngineConfig < EngineConfig
        def on?
          @state ||= :on
          @state == :on
        end
        
        protected
        
        def valid_mode_names
          [:cache, :no_cache, :both]
        end
      end
    end
  end
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cantango-permits-0.1.1 lib/cantango/permits_ext/config/engines/permit.rb