Skip to content

Commit

Permalink
Wording fix in docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mat Schaffer committed Aug 27, 2010
1 parent 91470ae commit 31f3bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -79,7 +79,7 @@ Pre-processing with ERB

If you append `.erb` to any file in your project, it will get processed through Erubis prior to deployment. This makes it possible to DRY up a lot of your XML, abstract common patterns and even write simple Apex macros.

Just before the templates are run, the deployer will look for `lib/template_helper.rb` and load that. In this file you can mix your own methods into the template processors. The following example allows you to use `<%= name 'MyObject' %>` in an object definition to avoid writing the XML boilerplate that's required by salesforce.
Just before the templates are run, the deployer will look for `lib/template_helper.rb` and load that. In this file you can mix your own methods into the template processors. The following example allows you to use `<%= object 'MyObject' %>` in an object file to avoid writing the XML boilerplate that's required by salesforce.

module GenericHelper
def object(&block)
Expand Down

0 comments on commit 31f3bbc

Please sign in to comment.