Module: Rake::AltSystem

Defined in:
lib/rxcode/spec/rake_ext.rb

Overview

The Rake gem aliases Kernel.system and the backtick operator into this module. For some reason, this causes a Segfault. Strangely AltSystem doesn’t exist in the MacRuby-provided rake.

Class Method Summary collapse

Class Method Details

.`(*args) ⇒ Object



17
18
19
# File 'lib/rxcode/spec/rake_ext.rb', line 17

def self.`(*args)
  Kernel.method(:`).call(*args)
end

.backticks(*args) ⇒ Object



21
22
23
# File 'lib/rxcode/spec/rake_ext.rb', line 21

def self.backticks(*args)
  Kernel.method(:`).call(*args)
end

.system(*args) ⇒ Object



13
14
15
# File 'lib/rxcode/spec/rake_ext.rb', line 13

def self.system(*args)
  Kernel.system(*args)
end