README.md in wolverine-0.0.4 vs README.md in wolverine-0.1.0
- old
+ new
@@ -24,14 +24,14 @@
```ruby
gem 'wolverine'
```
-3) Add your lua scripts to `app/redis`:
+3) Add your lua scripts to `app/wolverine`:
```lua
--- app/redis/util/mexists.lua
+-- app/wolverine/util/mexists.lua
local exists = {}
local existence
for _, key in ipairs(KEYS) do
table.insert(exists, redis.call('exists', key))
end
@@ -39,11 +39,14 @@
```
4) Call wolverine from your code:
```ruby
-Wolverine.call('util/mexists', 'key1', 'key2', 'key3') #=> [0, 1, 0]
+Wolverine.util.mexists('key1', 'key2', 'key3') #=> [0, 1, 0]
```
+
+Methods are available on `Wolverine` paralleling the directory structure
+of wolverine's `script_path`.
## Configuration
Available configuration options: