Sha256: 54b0d32dd366e7220fa16a504e76ef2be9eae3e9d6d74360ba1782e9695685fe
Contents?: true
Size: 1.1 KB
Versions: 4
Compression:
Stored size: 1.1 KB
Contents
= Institutions {<img src="https://secure.travis-ci.org/scotdalton/institutions.png?branch=master" alt="Build Status" />}[https://travis-ci.org/scotdalton/institutions] {<img src="https://gemnasium.com/scotdalton/institutions.png" alt="Dependency Status" />}[https://gemnasium.com/scotdalton/institutions] {<img src="https://codeclimate.com/badge.png" alt="Code Climage" />}[https://codeclimate.com/github/scotdalton/institutions] This gem provides a mechanism for creating Institutions from a hash of Institutional data elements. == Institutions Basics === Getting institutions Institutions reads in YAML files and creates a Hash of Institution instances with the Institution#code as the Hash key. require 'institutions' institutions = Institutions.institutions === Setting load paths Specify additional directories to search for institutional YAMLs. require 'institutions' Institutions.loadpaths << File.join("path", "to", "new", "load", "directory") === Setting file name Specify additional YAML file names that contain institutions. require 'institutions' Institutions.filenames << "my_institution.yml"
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
institutions-0.0.4 | README.rdoc |
institutions-0.0.3 | README.rdoc |
institutions-0.0.2 | README.rdoc |
institutions-0.0.1 | README.rdoc |