README.md in banditmask-0.2.0 vs README.md in banditmask-0.2.1
- old
+ new
@@ -59,11 +59,11 @@
```
Retrieve a list of all currently enabled bits.
```ruby
-mask.names # => [:read, :write]
+mask.bits # => [:read, :write]
```
In an class with a bitmask attribute, extend `BanditMask::Banditry` and call
`BanditMask::Banditry.bandit_mask` to add accessor methods for working with the
bitmask attribute.
@@ -78,10 +78,10 @@
obj = ObjectWithBitmaskAttribute.new
obj.bitmask = 0b011
```
-This gives you a reader method which delegates to `BanditMask#names`.
+This gives you a reader method which delegates to `BanditMask#bits`.
```ruby
obj.bits # => [:read, :write]
```