Class: CanTango::Config::Engines::PermitEngineConfig

Inherits:
EngineConfig
  • Object
show all
Defined in:
lib/cantango/permits_ext/config/engines/permit.rb

Instance Method Summary collapse

Instance Method Details

#on?Boolean

Returns:

  • (Boolean)


5
6
7
8
# File 'lib/cantango/permits_ext/config/engines/permit.rb', line 5

def on?
  @state ||= :on
  @state == :on
end