Method: CosmosCompatibility#require

Defined in:
lib/openc3/top_level.rb

#require(*args) ⇒ Object



551
552
553
554
555
556
557
558
# File 'lib/openc3/top_level.rb', line 551

def require(*args)
  filename = args[0]
  if filename[0..6] == "cosmos/"
    filename[0..6] = "openc3/"
  end
  args[0] = filename
  super(*args)
end