Module: CosmosCompatibility
- Included in:
- Object
- Defined in:
- lib/openc3/top_level.rb
Instance Method Summary collapse
Instance Method Details
#load(*args) ⇒ Object
583 584 585 586 587 588 589 590 |
# File 'lib/openc3/top_level.rb', line 583 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
575 576 577 578 579 580 581 582 |
# File 'lib/openc3/top_level.rb', line 575 def require(*args) filename = args[0] if filename[0..6] == "cosmos/" filename[0..6] = "openc3/" end args[0] = filename super(*args) end |