README.md in slop-3.4.4 vs README.md in slop-3.4.5
- old
+ new
@@ -173,10 +173,10 @@
```ruby
require 'slop'
opts = Slop.parse do
on :n, :name=, 'Your name'
- on :a, :age=, 'Your age', :as => :int
+ on :a, :age=, 'Your age', as: Integer
end
opts.to_hash #=> { :name => 'lee', :age => 105 }
-```
\ No newline at end of file
+```