Class: Z3::Context

Inherits:
Object
  • Object
show all
Defined in:
lib/z3/context.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeContext

Returns a new instance of Context.



4
5
6
# File 'lib/z3/context.rb', line 4

def initialize
  @_context = LowLevel.mk_context
end

Instance Attribute Details

#_contextObject (readonly)

Returns the value of attribute _context.



3
4
5
# File 'lib/z3/context.rb', line 3

def _context
  @_context
end

Class Method Details

.instanceObject



8
9
10
# File 'lib/z3/context.rb', line 8

def self.instance
  @instance ||= new
end