Sha256: a90789a1d0f32e1fe19876f087d5c86d1594f26c4313029a80193bdcc6c08c64

Contents?: true

Size: 261 Bytes

Versions: 2

Compression:

Stored size: 261 Bytes

Contents

Tweaks.define(
  :<%= args.first %>,	# name of tweak
  {
    # default config values here
  }
) do |config,name|

  # The tweak does its thing here, using the config given above
  # Of course, you can declare a class or whatever above define to call here

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tweaks-0.2.0 rails_generators/tweak/templates/tweak.erb
tweaks-0.1.0 rails_generators/tweak/templates/tweak.erb