Sha256: a3dc4056d9a71b27c4c582363ace7171743604dd922c0214fae18a6b76970259
Contents?: true
Size: 554 Bytes
Versions: 1
Compression:
Stored size: 554 Bytes
Contents
module Carioca module Services def Services::search_builtins(_name) asearch = Gem.searcher spec = asearch.find('carioca') if spec then res = asearch.lib_dirs_for(spec).split('/') res.pop services_path = res.join('/').concat('/lib/services') else services_path = "lib/services" end _file ="#{services_path}/#{_name}.rb" if File::exist? _file then return _file else return false end end def Services::discover_builtin end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
carioca-0.1 | lib/services.rb |