Guest User

Untitled

a guest
Jul 20th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. require 'ruby/kernel'
  2. require 'halsbe/nativeobject'
  3.  
  4. class Halsbe
  5. module Core
  6. def self.load
  7. mod = Module.new
  8. mod.const_set(:NativeObject, Halsbe::NativeObject.clone)
  9. glob_requirable('halsbe/core/**/*') do |path|
  10. load_into(path, mod)
  11. end
  12. mod
  13. end
  14. end
  15. end
Add Comment
Please, Sign In to add comment