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