class Togls::NullToggle
Null Toggle
The Null Toggle
model is designed to be used as a response when there is no toggle found when requested to be retreived through a Toggle
Repository.
Public Class Methods
new()
click to toggle source
Calls superclass method
Togls::Toggle::new
# File lib/togls/null_toggle.rb, line 7 def initialize feature = Togls::Feature.new('null', 'the official null feature', Togls::TargetTypes::EITHER) super(feature) end
Public Instance Methods
off()
click to toggle source
# File lib/togls/null_toggle.rb, line 16 def off self end
on()
click to toggle source
# File lib/togls/null_toggle.rb, line 12 def on self end