Sha256: 28a2e9a05f572e8bbce5490314adac1b616d0fab0ef506b0de0836a5131e12e3
Contents?: true
Size: 884 Bytes
Versions: 1
Compression:
Stored size: 884 Bytes
Contents
require "nokogiri" require "terminal-table" require "reverse_markdown" require "json" require 'csv' require_relative "so_far_so_good/version" require_relative "so_far_so_good/subchapter" require_relative "so_far_so_good/subpart" module SoFarSoGood HEADINGS = ["Clause", "Description"] YEAR = 2013 TITLE = 48 class << self def far @far ||= SoFarSoGood::Subchapter.new(:name => "FAR", :volume => 2, :chapter => 1) end def dfars @dfars ||= SoFarSoGood::Subchapter.new(:name => "DFARs", :volume => 3, :chapter => 2) end def subchapters [far, dfars] end def subparts(options = {}) subchapters.map { |d| d.subparts(options) }.flatten end def [](subpart) subparts.find { |s| s.number == subpart } end def vendor_directory File.expand_path "../vendor", File.dirname(__FILE__) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
so_far_so_good-1.0.1 | lib/so_far_so_good.rb |