Sha256: 66a11a3656fd237e2d84b1148c97222d1d95f159206bc1feaec9b861a7a6bfab

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 Bytes

Contents

module Firstjob
  class LookingFor
    LOOKING_FORS = YAML.load_file("lib/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

1 entries across 1 versions & 1 rubygems

Version Path
firstjob-1.0.0 lib/firstjob/looking_for.rb