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-2.1.0 | lib/gloo/app/engine_context.rb |
gloo-2.0.2 | lib/gloo/app/engine_context.rb |
gloo-2.0.1 | lib/gloo/app/engine_context.rb |
gloo-2.0.0 | lib/gloo/app/engine_context.rb |