Sha256: a690cab5dfa5deada84733d59220fb9cac617996575567c55815a3f1a152ea9e

Contents?: true

Size: 356 Bytes

Versions: 7

Compression:

Stored size: 356 Bytes

Contents

require "tramway/core/engine"

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tramway-core-1.1.0 lib/tramway/core.rb
tramway-core-1.0.6 lib/tramway/core.rb
tramway-core-1.0.5 lib/tramway/core.rb
tramway-core-1.0.4 lib/tramway/core.rb
tramway-core-1.0.3 lib/tramway/core.rb
tramway-core-1.0.2 lib/tramway/core.rb
tramway-core-1.0.1.5 lib/tramway/core.rb