minuteman 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
- data/README.md +5 -2
- data/lib/minuteman/bit_operations.rb +1 -0
- data/minuteman.gemspec +1 -1
- data/test/unit/minuteman_test.rb +1 -1
- metadata +1 -1
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -101,7 +101,7 @@ today_events.include?(User.all.map(&:id))
|
|
101
101
|
|
102
102
|
## Bitwise operations
|
103
103
|
|
104
|
-
You can intersect sets using bitwise AND(`&`), OR(`|`), NOT(`-`) and XOR(`^`).
|
104
|
+
You can intersect sets using bitwise AND(`&`), OR(`|`), NOT(`~`, `-`) and XOR(`^`).
|
105
105
|
Also you can use plus(`+`) and minus(`-`) operations.
|
106
106
|
|
107
107
|
```ruby
|
@@ -110,7 +110,10 @@ set1 - set2
|
|
110
110
|
set1 & set2
|
111
111
|
set1 | set2
|
112
112
|
set1 ^ set2
|
113
|
-
|
113
|
+
|
114
|
+
~set1 \
|
115
|
+
==> This are the same
|
116
|
+
-set1 /
|
114
117
|
```
|
115
118
|
|
116
119
|
### Example
|
data/minuteman.gemspec
CHANGED
data/test/unit/minuteman_test.rb
CHANGED