Sha256: 97c113f78406460edafa8c9fd7fba4b5754e7951c5e816430e77878e6ea5332f

Contents?: true

Size: 569 Bytes

Versions: 1

Compression:

Stored size: 569 Bytes

Contents

# make sure we're running inside Merb
if defined?(Merb::Plugins)

  # Merb gives you a Merb::Plugins.config hash...feel free to put your stuff in your piece of it
  Merb::Plugins.config[:merb_sexy_forms] = {
    :container_tag => "li"
  }
  
  Merb::BootLoader.before_app_loads do
    # require code that must be loaded before the application
  end
  
  Merb::BootLoader.after_app_loads do
    dir = File.dirname(__FILE__) / 'merb-sexy-forms'
    require dir + '/builder'
    require dir + '/form'
  end
  
  Merb::Plugins.add_rakefiles "merb-sexy-forms/merbtasks"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
drogus-merb-sexy-forms-0.0.4 lib/merb-sexy-forms.rb