Sha256: 4e2b66574bf56e0f34444864df2312c1c637ccf03f3ab7989d61a17dd7872ba1

Contents?: true

Size: 246 Bytes

Versions: 7

Compression:

Stored size: 246 Bytes

Contents

require 'geekier_factory/api'
require 'geekier_factory/action'

module GeekierFactory
  def self.factorize(filename_with_path)
    description = File.read(filename_with_path)
    structure = YAML.load(description)
    API.new(structure)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
geekier_factory-0.1.5 lib/geekier_factory.rb
geekier_factory-0.1.4 lib/geekier_factory.rb
geekier_factory-0.1.3 lib/geekier_factory.rb
geekier_factory-0.1.2 lib/geekier_factory.rb
geekier_factory-0.1.1 lib/geekier_factory.rb
geekier_factory-0.1.0 lib/geekier_factory.rb
geekier_factory-0.0.1 lib/geekier_factory.rb