Sha256: 7e203e6a9f246c4618937298a6e3c6f3b54d4bda433d38a2707247fe82ab939f

Contents?: true

Size: 281 Bytes

Versions: 1

Compression:

Stored size: 281 Bytes

Contents

require 'rails/generators'

class CruyffGenerator < Rails::Generators::Base
  def self.source_root
    File.join(File.dirname(__FILE__), 'templates')
  end
  
  def install_cruyff
    copy_file(
      'jquery.cruyff.js',
      'public/javascripts/jquery.cruyff.js'
    )
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cruyff-0.0.1 lib/generators/cruyff_generator.rb