Sha256: a058fd21056d46b7f79f0965ce28d70a8ae60897d1c1bab7e11a44d95b9e2e85
Contents?: true
Size: 540 Bytes
Versions: 1
Compression:
Stored size: 540 Bytes
Contents
require 'memoizable' require 'yamload' module PansophyAuthenticator module Local class BuildLoader include Memoizable def call Yamload::Loader.new(filename, dirname) end private def pathname Pathname.new(configuration.file_path) end memoize :pathname def dirname pathname.dirname end def filename pathname.basename('.yml') end def configuration PansophyAuthenticator.valid_configuration end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pansophy_authenticator-0.5.0 | lib/pansophy_authenticator/local/build_loader.rb |