Sha256: fb1866771b89c3e198e02a83f835474198393344730b197e8113d7766cd5005e

Contents?: true

Size: 644 Bytes

Versions: 4

Compression:

Stored size: 644 Bytes

Contents

# Loading engine only if this is not a standalone installation
unless defined? ComfyGallery::Application
  require File.expand_path('comfy_gallery/engine', File.dirname(__FILE__))
end

require File.expand_path('comfy_gallery/configuration', File.dirname(__FILE__))
require File.expand_path('comfy_gallery/form_builder', File.dirname(__FILE__))
require File.expand_path('paperclip_processors/cropper', File.dirname(__FILE__))

module ComfyGallery
  class << self
    
    def configure
      yield configuration
    end
    
    def configuration
      @configuration ||= Configuration.new
    end
    alias :config :configuration
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
comfy_gallery-0.1.3 lib/comfy_gallery.rb
comfy_gallery-0.1.2 lib/comfy_gallery.rb
comfy_gallery-0.1.1 lib/comfy_gallery.rb
comfy_gallery-0.1.0 lib/comfy_gallery.rb