Sha256: 970f5b2ce583ff2eee9bba124d5c68922afce4bc198e36799a7e70ab29f41025

Contents?: true

Size: 502 Bytes

Versions: 11

Compression:

Stored size: 502 Bytes

Contents

# encoding: utf-8

# === Options ===
# --flat | --no-flat
# --full | --no-full
# --setup-hook | --no-setup-hook
# --postprocess-hook | --no-postprocess-hook

hook do |generator, context|
  context[:boolean] = {true => "yes", false => "no"}
  context[:full] = true  unless context.has_key?(:full)
  context[:flat] = false unless context.has_key?(:flat)
  context[:setup_hook] = true unless context.has_key?(:setup_hook)
  context[:postprocess_hook] = true unless context.has_key?(:postprocess_hook)
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
simple-templater-0.0.1.6 stubs/stub/setup.rb
simple-templater-0.0.1.5 stubs/stub/setup.rb
simple-templater-0.0.1.4 stubs/stub/setup.rb
simple-templater-0.0.1.3 stubs/stub/setup.rb
simple-templater-0.2.pre stubs/stub/setup.rb
simple-templater-0.0.1.2 stubs/stub/setup.rb
simple-templater-0.0.1.1 stubs/stub/setup.rb
rango-0.0.6 vendor/simple-templater/stubs/stub/setup.rb
rango-0.1.pre vendor/simple-templater/stubs/stub/setup.rb
simple-templater-0.1.pre stubs/stub/setup.rb
simple-templater-0.0.1 stubs/stub/setup.rb