Sha256: 383f553789ac7842fc06204ffd4c7ba09cd5168ca10c08de471f5cb719c7f43b

Contents?: true

Size: 642 Bytes

Versions: 9

Compression:

Stored size: 642 Bytes

Contents

require 'tramway/core/engine'
require 'tramway/collection'
require 'tramway/collections/helper'
require 'tramway/error'
require 'font_awesome5_rails'
require 'reform'
require 'pg_search'
require 'validators/presence_validator'

module Tramway
  module Core
    class << self
      def initialize_application(**options)
        @application ||= Tramway::Core::Application.new
        options.each do |attr, value|
          @application.send "#{attr}=", value
        end
      end

      def application
        @application
      end
    end
  end
end

# HACK FIXME

module ActiveModel
  class Errors
    def merge!(*args)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tramway-core-1.13.1.1 lib/tramway/core.rb
tramway-core-1.13.1 lib/tramway/core.rb
tramway-core-1.13.0.2 lib/tramway/core.rb
tramway-core-1.13.0.1 lib/tramway/core.rb
tramway-core-1.13 lib/tramway/core.rb
tramway-core-1.12.1 lib/tramway/core.rb
tramway-core-1.12.0.2 lib/tramway/core.rb
tramway-core-1.12.0.1 lib/tramway/core.rb
tramway-core-1.12 lib/tramway/core.rb