Sha256: bf9ba844394c7ded9ea1de42caf50b3b86308bea69e9abb695da76d674a4313b
Contents?: true
Size: 964 Bytes
Versions: 8
Compression:
Stored size: 964 Bytes
Contents
require_relative "../lib/loader" require_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"}}} require_directory "lib", :r #> recursive #> hello world! from stuff.rb
Version data entries
8 entries across 8 versions & 1 rubygems