class Import_Module::Module

Public Instance Methods

alias_method(a, b) click to toggle source
# File lib/algebra/import-module.rb, line 433
def alias_method(a, b)
  a0 = a.sub(/__IMPORT_MODULE_PREFIX_/, "@").sub(/\d+(\d{3})/, '\1')
  b0 = b.sub(/__IMPORT_MODULE_PREFIX_/, "@").sub(/\d+(\d{3})/, '\1')
  puts "#{self}> #{a0} = #{b0}"
  alias_method_orig a, b
end
Also aliased as: alias_method_orig
alias_method_orig(a, b)
Alias for: alias_method
include(mod) click to toggle source
# File lib/algebra/import-module.rb, line 427
def include(mod)
  puts "#{self}> includes #{mod}"
  include_orig mod
end
Also aliased as: include_orig
include_orig(mod)
Alias for: include
remove_method(a) click to toggle source
# File lib/algebra/import-module.rb, line 441
def remove_method(a)
  a0 = a.sub(/__IMPORT_MODULE_PREFIX_/, "@").sub(/\d+(\d{3})/, '\1')
  puts "#{self}> remove #{a0}"
  remove_method_orig a
end
Also aliased as: remove_method_orig
remove_method_orig(a)
Alias for: remove_method
undef_method(a) click to toggle source
# File lib/algebra/import-module.rb, line 448
def undef_method(a)
  a0 = a.sub(/__IMPORT_MODULE_PREFIX_/, "@").sub(/\d+(\d{3})/, '\1')
  puts "#{self}> undef #{a0}"
  undef_method_orig a
end
Also aliased as: undef_method_orig
undef_method_orig(a)
Alias for: undef_method