module Rubylog
rubylog – Prolog workalike for Ruby github.com/cie/rubylog
Constants
- NullaryPredicates
Public Class Methods
create_context(source_object=Object.new)
click to toggle source
Creates a new context from a new object or optionally from an existing source object @return the new context
# File lib/rubylog/context_creation.rb, line 6 def self.create_context source_object=Object.new class << source_object include Rubylog::Context end source_object end