SPEC.md in flag-0.0.1 vs SPEC.md in flag-0.0.2
- old
+ new
@@ -1,6 +1,6 @@
-``ruby
+```ruby
if Flag(:experiment).on?
end
Flag(:experiment).on!
Flag(:experiment).off!
@@ -10,7 +10,7 @@
Flag(:experiment).on!(:group)
Flag(:experiment).on?(user.id)
Flag(:experiment).on?(:group)
-Flag.group[:group] = lambda { |id| id % 2 }
+Flag.group[:group] = lambda { |id| id % 2 == 0 }
```