module FixtureOverlord

Hashish

About

Hashish is an over-glorified Hash with a few extra special methods to make it easier to work with within FixtureOverlord. Things like symbolize_keys, which does a deep symbolization on all keys within the given hash help create a predictable hash to work with.

TODO: refactor to a class

Constants

FormattingError
MAJOR
MINOR
PATCH

Public Class Methods

included(klass) click to toggle source
# File lib/fixture_overlord.rb, line 10
def self.included(klass)
  klass.extend(ClassMethods)
end
read_fixture(yaml_file, key) click to toggle source
# File lib/fixture_overlord/read_fixture.rb, line 8
def self.read_fixture(yaml_file, key)
  ReadFixture.new(yaml_file).read(key)
end
version() click to toggle source
# File lib/fixture_overlord/version.rb, line 3
def self.version
  [MAJOR, MINOR, PATCH].join('.')
end