Class: Module

Inherits:
Object show all
Defined in:
lib/framework/rho/rho.rb

Instance Method Summary collapse

Instance Method Details

#base_const_missingObject



1229
# File 'lib/framework/rho/rho.rb', line 1229

alias base_const_missing const_missing

#const_missing(name) ⇒ Object



1230
1231
1232
1233
1234
1235
1236
1237
# File 'lib/framework/rho/rho.rb', line 1230

def const_missing(name)
    puts "const_missing: #{name}"

    res = Rho::RHO.get_instance().load_model(name.to_s)
    return res if res

    return base_const_missing(name)
end