Sha256: 438271e8f0ed41c04fda8fbc18c73332e018e36b91233ba2fdbac207f6c09454

Contents?: true

Size: 414 Bytes

Versions: 12

Compression:

Stored size: 414 Bytes

Contents

module Datacaster
  module ContextNodes
    class ObjectContext < Datacaster::ContextNode
      def initialize(base, object)
        super(base)
        @object = object
      end

      def inspect
        "#<#{self.class.name}(#{@object.inspect}) base: #{@base.inspect}>"
      end

      private

      def create_runtime(parent)
        Runtimes::ObjectContext.new(parent, @object)
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
datacaster-4.1.0 lib/datacaster/context_nodes/object_context.rb
datacaster-4.0.1 lib/datacaster/context_nodes/object_context.rb
datacaster-3.3.1 lib/datacaster/context_nodes/object_context.rb
datacaster-3.3.0 lib/datacaster/context_nodes/object_context.rb
datacaster-3.2.7 lib/datacaster/context_nodes/object_context.rb
datacaster-3.2.6 lib/datacaster/context_nodes/object_context.rb
datacaster-3.2.5 lib/datacaster/context_nodes/object_context.rb
datacaster-3.2.4 lib/datacaster/context_nodes/object_context.rb
datacaster-3.2.3 lib/datacaster/context_nodes/object_context.rb
datacaster-3.2.2 lib/datacaster/context_nodes/object_context.rb
datacaster-3.2.1 lib/datacaster/context_nodes/object_context.rb
datacaster-3.2.0 lib/datacaster/context_nodes/object_context.rb