summaryrefslogtreecommitdiffstats
path: root/lib/puppet/rails/rails_resource.rb
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-04-18 13:29:47 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-04-19 10:53:36 -0700
commit86801b580101315706b1b02a00a36840eabd75cd (patch)
tree9d0db179dabc6b113ff63965df0f01a2e2dadeb2 /lib/puppet/rails/rails_resource.rb
parentbe23b8423ba77a5935586e277bf543cd54b9dec7 (diff)
downloadpuppet-86801b580101315706b1b02a00a36840eabd75cd.tar.gz
puppet-86801b580101315706b1b02a00a36840eabd75cd.tar.xz
puppet-86801b580101315706b1b02a00a36840eabd75cd.zip
(#7013) Support 'when_rendering' and 'render_as' in actions.
These define the API used by folks writing actions that supports their rendering hooks. 'when_rendering' defines a helper method on the interface, which runs the users code in their expected context. 'render_as' just sets the default rendering format; by default this is :for_humans. Reviewed-By: Max Martin <max@puppetlabs.com>
Diffstat (limited to 'lib/puppet/rails/rails_resource.rb')
0 files changed, 0 insertions, 0 deletions