Top Level Namespace

Defined Under Namespace

Modules: Gem, Rake Classes: Echoe, String

Instance Method Summary collapse

Instance Method Details

#reset_target(target) ⇒ Object

or Gem::PLATFORM::RUBY maybe



29
30
31
32
33
# File 'lib/echoe/rubygems.rb', line 29

def reset_target target #:nodoc:
  $platform = target
  Object.send(:remove_const, "RUBY_PLATFORM")
  Object.send(:const_set, "RUBY_PLATFORM", target)
end