Sha256: e4a09fd6cd72b2d687a4b370f4c80d0e3cc6f4d1a51e162dddc533ee031b3864
Contents?: true
Size: 617 Bytes
Versions: 21
Compression:
Stored size: 617 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 GlooLang 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 : Platform.new @log = log ? log : Log @user_root = user_root end end end end
Version data entries
21 entries across 21 versions & 1 rubygems