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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -