Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUBY

ruby reference a file in a gem

Gem.loaded_specs["mygem"].base_dir
Gem.loaded_specs["mygem"].full_gem_path
Gem.loaded_specs["mygem"].gem_dir
Gem.loaded_specs["mygem"].gems_dir
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ruby #reference #file #gem
ADD COMMENT
Topic
Name
9+4 =