Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Commit

Permalink
Minor formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunemaker committed Feb 16, 2013
1 parent 5baf495 commit cbe5095
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/flipper/adapters/mongo.rb
Expand Up @@ -32,7 +32,7 @@ def get(feature)
when :set
doc.fetch(gate.key.to_s) { Set.new }.to_set
else
unsupported_data_type(gate.data_type)
unsupported_data_type gate.data_type
end
end

Expand All @@ -57,7 +57,7 @@ def enable(feature, gate, thing)
gate.key.to_s => thing.value.to_s,
}
else
unsupported_data_type(gate.data_type)
unsupported_data_type gate.data_type
end

true
Expand All @@ -79,7 +79,7 @@ def disable(feature, gate, thing)
when :set
update feature.key, '$pull' => {gate.key.to_s => thing.value.to_s}
else
unsupported_data_type(gate.data_type)
unsupported_data_type gate.data_type
end

true
Expand Down

0 comments on commit cbe5095

Please sign in to comment.