# File lib/feature.rb, line 106 def self.switch(feature, l1, l2) if active?(feature) l1.instance_of?(Proc) ? l1.call : l1 else l2.instance_of?(Proc) ? l2.call : l2 end end