Sha256: dfb4b246cc466c7747ac53a816b69fa372ec14b70cb136acce335fb34514a976
Contents?: true
Size: 780 Bytes
Versions: 4
Compression:
Stored size: 780 Bytes
Contents
# frozen_string_literal: true 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_object @application.model_class.present? ? @application.model_class.first : @application end attr_reader :application end end end # HACK: FIXME module ActiveModel class Errors def merge!(*args); end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
tramway-core-1.14.5.2 | lib/tramway/core.rb |
tramway-core-1.14.5.1 | lib/tramway/core.rb |
tramway-core-1.14.5 | lib/tramway/core.rb |
tramway-core-1.14.4 | lib/tramway/core.rb |