Class: ConfigManager::Toggles::Null

Inherits:
Object
  • Object
show all
Defined in:
lib/config_manager/toggles/null.rb

Class Method Summary collapse

Class Method Details

.active?(toggle_def) ⇒ Boolean

Returns:



4
5
6
# File 'lib/config_manager/toggles/null.rb', line 4

def self.active?(toggle_def)
  false
end

.from_json(value) ⇒ Object



12
13
14
# File 'lib/config_manager/toggles/null.rb', line 12

def self.from_json(value)
  nil
end

.to_json(value) ⇒ Object



8
9
10
# File 'lib/config_manager/toggles/null.rb', line 8

def self.to_json(value)
 	nil
end