Class: PerformLater::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/perform_later/config.rb

Class Method Summary collapse

Class Method Details

.enabled=(value) ⇒ Object



3
4
5
# File 'lib/perform_later/config.rb', line 3

def self.enabled=(value)
  @enabled = value
end

.enabled?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/perform_later/config.rb', line 7

def self.enabled?
  !!@enabled
end