Module: CosmosCompatibility
- Included in:
- Object
- Defined in:
- lib/openc3/top_level.rb
Instance Method Summary collapse
Instance Method Details
#load(*args) ⇒ Object
568 569 570 571 572 573 574 575 |
# File 'lib/openc3/top_level.rb', line 568 def load(*args) filename = args[0] if filename[0..6] == "cosmos/" filename[0..6] = "openc3/" end args[0] = filename super(*args) end |
#require(*args) ⇒ Object
560 561 562 563 564 565 566 567 |
# File 'lib/openc3/top_level.rb', line 560 def require(*args) filename = args[0] if filename[0..6] == "cosmos/" filename[0..6] = "openc3/" end args[0] = filename super(*args) end |