Sha256: 9a7fa6bda5799513ffb0b438f4880c940b036954b95d711291c6eddfdf07e4b2
Contents?: true
Size: 901 Bytes
Versions: 2
Compression:
Stored size: 901 Bytes
Contents
require_relative "../lib/loader" require_relative_directory "lib" # one of the file has a "puts \"hello world!\"" that will run on load #> hello world! puts Loader.meta "examples","lib","**","meta" #> {"asdf"=>{"else"=>{"world"=>"hello"}, "stuff"=>{"hello"=>"world"}}} puts Loader.meta root: File.expand_path(File.dirname(__FILE__)) #> {"asdf"=>{"else"=>{"world"=>"hello"}, "stuff"=>{"hello"=>"world"}}} puts Loader.meta "lib","**","meta", root: File.expand_path(File.dirname(__FILE__)) #> {"asdf"=>{"else"=>{"world"=>"hello"}, "stuff"=>{"hello"=>"world"}}} puts Loader.meta absolute: File.expand_path(File.join(File.dirname(__FILE__),"lib","**","meta")) #> {"asdf"=>{"else"=>{"world"=>"hello"}, "stuff"=>{"hello"=>"world"}}} puts Loader.metaloader_framework root: File.expand_path(File.dirname(__FILE__)) #> {"asdf"=>{"else"=>{"world"=>"hello"}, "stuff"=>{"hello"=>"world"}}}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
loader-1.0.2 | examples/simple_require.rb |
loader-1.0.1 | examples/simple_require.rb |