Switch to ruby 1.9+ hash syntax on generic bucket docs
This commit is contained in:
parent
5d9c433326
commit
0f3d79e1bc
1 changed files with 3 additions and 3 deletions
|
@ -17,8 +17,8 @@ the `:name` parameter, like this:
|
|||
|
||||
```ruby
|
||||
Vagrant.configure("2") do |config|
|
||||
config.cache.enable :generic, { :name => "one", :cache_dir => "/var/cache/one" }
|
||||
config.cache.enable :generic, { :name => "two", :cache_dir => "/var/cache/two" }
|
||||
config.cache.enable :generic, { name: "one", cache_dir: "/var/cache/one" }
|
||||
config.cache.enable :generic, { name: "two", cache_dir: "/var/cache/two" }
|
||||
end
|
||||
```
|
||||
|
||||
|
@ -31,7 +31,7 @@ hand. For instance, if you want to cache your wget downloads under
|
|||
|
||||
```ruby
|
||||
Vagrant.configure("2") do |config|
|
||||
config.cache.enable :generic, { :name => "wget", :cache_dir => "/var/cache/wget" }
|
||||
config.cache.enable :generic, { name: "wget", cache_dir: "/var/cache/wget" }
|
||||
end
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue