Commit 6baba9f3 authored by Loic Nageleisen's avatar Loic Nageleisen

Fix bad keyword argument

parent e9986f24
......@@ -35,7 +35,7 @@ end
Importing `foo` will make it accessible to `self`:
```ruby
import('foo', as: :method)
import('foo', to: :method)
p foo #=> #<Package foo>
p foo.name #=> "foo"
p foo.hello #=> "i am foo"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment