lib/rake/funnel/support/mono.rb in rake-funnel-0.3.2.pre vs lib/rake/funnel/support/mono.rb in rake-funnel-0.4.0.pre

- old
+ new

@@ -1,17 +1,21 @@ -module Rake::Funnel::Support - class Mono - class << self - def invocation(executable, *args) - exe_args = ([executable] << args).flatten.compact - - if Rake::Win32.windows? - return exe_args - end - - executable = exe_args.shift - found = Which.which(executable) || executable - exe_args.unshift('mono', found) - end - end - end -end +module Rake + module Funnel + module Support + class Mono + class << self + def invocation(executable, *args) + exe_args = ([executable] << args).flatten.compact + + if Rake::Win32.windows? + return exe_args + end + + executable = exe_args.shift + found = Which.which(executable) || executable + exe_args.unshift('mono', found) + end + end + end + end + end +end