Sha256: f5fef9b5ec09c6c3b311962a23c62062e02bcd9caf3e3e0c93eac2a4fa2274e5
Contents?: true
Size: 436 Bytes
Versions: 11
Compression:
Stored size: 436 Bytes
Contents
# encoding: utf-8 # This hook will be executed in context of current generator object before templater start to generate new files. # You can update context hash and register hooks. Don't forget to use merge! instead of merge, because you are # manipulating with one object, rather than returning new one. hook do |generator, context| # context[:flat] = false unless context.has_key?(:flat) # generator.before Hooks::FullName end
Version data entries
11 entries across 11 versions & 2 rubygems