Sha256: f856e378e1f1bd57f13ff2aea4bf59491ee385239378208069d467ac6a975397

Contents?: true

Size: 289 Bytes

Versions: 2

Compression:

Stored size: 289 Bytes

Contents

module FormattedForm
  class JavascriptsGenerator < Rails::Generators::Base

    source_root File.expand_path('../../../../..', __FILE__) 
  
    def generate_javascripts
      copy_file 'templates/javascripts/formatted_form.js', 'public/javascripts/formatted_form.js'
    end
  
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
formatted_form-1.1.0 lib/generators/formatted_form/javascripts/javascripts_generator.rb
formatted_form-1.0.2 lib/generators/formatted_form/javascripts/javascripts_generator.rb