Sha256: 85a3f1d40eb9cdcd2626ff938012605bf68da52c6e89ce3447fa384ce2cfd19d
Contents?: true
Size: 316 Bytes
Versions: 2
Compression:
Stored size: 316 Bytes
Contents
module Firstjob class LookingFor LOOKING_FORS = YAML.load_file(File.join(File.dirname(__FILE__),"../data/looking_fors.yaml"))["looking_fors"].symbolize_keys! # Poor's man all def self.all LOOKING_FORS end # Poor's man find def self.find(id) LOOKING_FORS[id] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
firstjob-1.0.4 | lib/firstjob/looking_for.rb |
firstjob-1.0.1 | lib/firstjob/looking_for.rb |