Sha256: 94d782aaab71cdb6504adeb3dc435fc37961efe055f066e6dc12fe5349ec3ea9

Contents?: true

Size: 635 Bytes

Versions: 24

Compression:

Stored size: 635 Bytes

Contents

# Author::    Eric Crane  (mailto:eric.crane@mac.com)
# Copyright:: Copyright (c) 2022 Eric Crane.  All rights reserved.
#
# The context (parameters) for the Gloo Script Engine.
#

module Gloo
  module App
    class EngineContext

      attr_accessor :params, :platform, :log, :user_root

      #
      # Create the context, supplying defaults where relevant.
      #
      def initialize( params = [], platform=nil, log=nil, user_root=nil )
        @params = params
        @platform = platform ? platform : Gloo::App::Platform.new
        @log = log ? log : Gloo::App::Log
        @user_root = user_root
      end

    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
gloo-3.7.0 lib/gloo/app/engine_context.rb
gloo-3.6.2 lib/gloo/app/engine_context.rb
gloo-3.6.1 lib/gloo/app/engine_context.rb
gloo-3.6.0 lib/gloo/app/engine_context.rb
gloo-3.5.0 lib/gloo/app/engine_context.rb
gloo-3.4.1 lib/gloo/app/engine_context.rb
gloo-3.4.0 lib/gloo/app/engine_context.rb
gloo-3.3.0 lib/gloo/app/engine_context.rb
gloo-3.2.0 lib/gloo/app/engine_context.rb
gloo-3.1.1 lib/gloo/app/engine_context.rb
gloo-3.1.0 lib/gloo/app/engine_context.rb
gloo-3.0.1 lib/gloo/app/engine_context.rb
gloo-3.0.0 lib/gloo/app/engine_context.rb
gloo-2.5.0 lib/gloo/app/engine_context.rb
gloo-2.4.3 lib/gloo/app/engine_context.rb
gloo-2.4.2 lib/gloo/app/engine_context.rb
gloo-2.4.1 lib/gloo/app/engine_context.rb
gloo-2.4.0 lib/gloo/app/engine_context.rb
gloo-2.3.1 lib/gloo/app/engine_context.rb
gloo-2.2.0 lib/gloo/app/engine_context.rb