Permalink
Browse files

Alias merge_worker for ruby exec.

  • Loading branch information...
1 parent 8a780c6 commit 6b4c71a22b603623363f058344111ed34fc6e6d5 Andrew Kirilenko committed Apr 23, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 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

0 comments on commit 6b4c71a

Please sign in to comment.