lib/flipper/adapters/mongo.rb in flipper-mongo-1.1.2 vs lib/flipper/adapters/mongo.rb in flipper-mongo-1.2.0
- old
+ new
@@ -57,11 +57,11 @@
end
# Public: Enables a gate for a given thing.
#
# feature - The Flipper::Feature for the gate.
- # gate - The Flipper::Gate to disable.
- # thing - The Flipper::Type being disabled for the gate.
+ # gate - The Flipper::Gate to enable.
+ # thing - The Flipper::Type being enabled for the gate.
#
# Returns true.
def enable(feature, gate, thing)
case gate.data_type
when :boolean