Sha256: 0e49b6e4c6c2e050c0863db38551e6e97b6db21261361bb487441545fd42c74b
Contents?: true
Size: 425 Bytes
Versions: 5
Compression:
Stored size: 425 Bytes
Contents
# encoding: utf-8 module LocalPac class LocalStorage private attr_reader :storage public def initialize(storage = GitStorage.new(LocalPac.config.local_storage)) @storage = storage end def find(name) name = name.sub(/.pac$/, '').camelize.downcase.to_sym LocalPac.ui_logger.debug "Using the following name to find pac file: \":#{name}\"." storage[name] end end end
Version data entries
5 entries across 5 versions & 1 rubygems