Class: Class
Overview
Add include on Class accepting string for rasm files
Instance Method Summary collapse
Instance Method Details
#include(mod) ⇒ Object
70 71 72 73 74 75 76 |
# File 'lib/rmasm/core_override.rb', line 70 def include(mod) if mod.is_a?(String) RMasm.include_rasm_file(self, mod) else rmasm_old_include_method mod end end |
#rmasm_old_include_method ⇒ Object
68 |
# File 'lib/rmasm/core_override.rb', line 68 alias :rmasm_old_include_method :include |