Sha256: ab3ec6c1b76c72629df1ec25c7a23bd2de61e59d668983a4d72774e3b54d1e48

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

Contents

require 'active_support/dependencies'

module Irwi

  module Formatters
    autoload :BlueCloth, 'irwi/formatters/blue_cloth'
    autoload :RedCloth, 'irwi/formatters/red_cloth'
  end

  module Comparators
    autoload :DiffLcs, 'irwi/comparators/diff_lcs'
    autoload :Base, 'irwi/comparators/base'
    module Spans
      autoload :ChangedSpan, 'irwi/comparators/spans/changed_span'
      autoload :NotChangedSpan, 'irwi/comparators/spans/not_changed_span'
    end
  end

  module Extensions; end

  module Paginators
    autoload :None, 'irwi/paginators/none'
    autoload :WillPaginate, 'irwi/paginators/will_paginate'
  end

  module Support
    autoload :TemplateFinder, 'irwi/support/template_finder'
  end

  def self.config
    require 'irwi/config'

    @@config ||= Irwi::Config.new
  end

end

require 'irwi/extensions/controllers'
require 'irwi/extensions/models'
require 'irwi/support/route_mapper' # Routes
require 'irwi/helpers'

ActionController::Base.append_view_path File.expand_path('../../app/views', __FILE__) # Append default views

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
irwi-0.4.1 lib/irwi.rb
irwi-0.4.0 lib/irwi.rb