Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Alias merge_worker for ruby exec.

  • Loading branch information...
commit 6b4c71a22b603623363f058344111ed34fc6e6d5 1 parent 8a780c6
@iced iced authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/iron_worker_ng/feature/ruby/merge_exec.rb
View
2  lib/iron_worker_ng/feature/ruby/merge_exec.rb
@@ -46,6 +46,8 @@ def merge_exec(path, klass = nil)
@features << @exec
end
+ alias :merge_worker :merge_exec
+
def self.included(base)
IronWorkerNG::Code::Base.register_feature(:name => 'merge_exec', :for_klass => base, :args => 'PATH[,CLASS]')
end
Please sign in to comment.
Something went wrong with that request. Please try again.