README.textile in simple-templater-0.0.1.3 vs README.textile in simple-templater-0.0.1.4
- old
+ new
@@ -31,14 +31,14 @@
You would probably want to use simple templater for your own generators, here is how:
<pre>
require "simple-templater"
-templater = SimpleTemplater.new(:rango, SimpleTemplater.logger)
+templater = SimpleTemplater.new(:rango)
if defined?(Gem) # try to find generators installed as gems
templater.discovery!
else
- SimpleTemplater.logger.warn "Running without RubyGems which means SimpleTemplater won't be able to find generators distributed as a Gems."
+ warn "Running without RubyGems which means SimpleTemplater won't be able to find generators distributed as a Gems."
# register generators just for rango
load File.join(File.dirname(__FILE__), "..", "simple-templater.scope")
end
templater.run(ARGV.shift) # run generator from ARGV, for example "project"
</pre>