Top Level Namespace
Defined Under Namespace
Modules: Gem, Rake Classes: Echoe, String
Instance Method Summary collapse
-
#reset_target(target) ⇒ Object
:nodoc:.
Instance Method Details
#reset_target(target) ⇒ Object
:nodoc:
28 29 30 31 32 |
# File 'lib/echoe/platform.rb', line 28 def reset_target target #:nodoc: $platform = target Object.send(:remove_const, "RUBY_PLATFORM") Object.send(:const_set, "RUBY_PLATFORM", target) end |