Has Ruby a keyword `define`? -


where can find documentation define (see snippet below) in ruby?

define :brew    package @name,    :ensure   => :present,    :provider => :homebrew,    :require  => "vcsrepo[/usr/local]" end 

i not sure whether ruby keyword actually.

wouldn't make sense tell people where saw snippet, provide context?

it's you're looking @ puppet script:

http://docs.puppetlabs.com/puppet/3/reference/index.html

the place find definition of define, then, in puppet source.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -