Method: Rake::CompileTask#initialize
- Defined in:
- lib/jquery_plugin_gen/compiletask.rb
#initialize(name) {|_self| ... } ⇒ CompileTask
Create a Compile Task
76 77 78 79 80 81 |
# File 'lib/jquery_plugin_gen/compiletask.rb', line 76 def initialize(name) init(name) yield self if block_given? define unless name.nil? puts "Windows users require sed and perl for rake:compile - please install onto PATH" if /mswin|mingw/ =~ RUBY_PLATFORM end |