Class: MaintenanceMode::NullPersistence

Inherits:
Object
  • Object
show all
Defined in:
lib/maintenance_mode/null_persistence.rb

Instance Method Summary collapse

Instance Method Details

#disableObject



9
# File 'lib/maintenance_mode/null_persistence.rb', line 9

def disable; end

#enable(message = nil) ⇒ Object



7
# File 'lib/maintenance_mode/null_persistence.rb', line 7

def enable(message=nil); end

#enabled?Boolean

Returns:

  • (Boolean)


3
4
5
# File 'lib/maintenance_mode/null_persistence.rb', line 3

def enabled?
  false
end

#messageObject



11
# File 'lib/maintenance_mode/null_persistence.rb', line 11

def message; end