Sha256: c45651b5ebe7b3b9ffb70149e8e91a6a6385fe963629f8f93bebfb039fec89de

Contents?: true

Size: 496 Bytes

Versions: 1

Compression:

Stored size: 496 Bytes

Contents

require 'escape'
require 'fileutils'

module Imagery
  VERSION = "0.0.6"
  
  autoload :Model,   "imagery/model"
  autoload :Faking,  "imagery/faking"
  autoload :S3,      "imagery/s3"
  autoload :Missing, "imagery/missing"
  autoload :Test,    "imagery/test"
  
  # Syntactic sugar for Imagery::Model::new
  # @yield Imagery::Model
  # @see Imagery::Model#initialize for details
  def new(*args)
    Model.new(*args).tap { |model| yield model  if block_given? }
  end
  module_function :new
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
imagery-0.0.6 lib/imagery.rb