Skip to content
Permalink
Browse files

Merge pull request #676 from krekoten/proc_binding

Define global const Binding
  • Loading branch information
alex committed May 3, 2013
2 parents b1b3d16 + b866e17 commit d7b5f06682f66c52be30b56d1614f71a3246b3d6
Showing with 2 additions and 2 deletions.
  1. +0 −1 spec/tags/core/proc/binding_tags.txt
  2. +2 −1 topaz/objspace.py
@@ -1,2 +1 @@
fails:Proc#binding returns a Binding instance
fails:Proc#binding returns the binding associated with self
@@ -110,6 +110,7 @@ def __init__(self, config):
self.w_symbol = self.getclassfor(W_SymbolObject)
self.w_array = self.getclassfor(W_ArrayObject)
self.w_proc = self.getclassfor(W_ProcObject)
self.w_binding = self.getclassfor(W_BindingObject)
self.w_numeric = self.getclassfor(W_NumericObject)
self.w_fixnum = self.getclassfor(W_FixnumObject)
self.w_float = self.getclassfor(W_FloatObject)
@@ -154,7 +155,7 @@ def __init__(self, config):
self.w_numeric, self.w_fixnum, self.w_bignum, self.w_float,
self.w_string, self.w_symbol, self.w_class, self.w_module,
self.w_hash, self.w_regexp, self.w_method, self.w_unbound_method,
self.w_io,
self.w_io, self.w_binding,

self.w_NoMethodError, self.w_ArgumentError, self.w_TypeError,
self.w_ZeroDivisionError, self.w_SystemExit, self.w_RangeError,

0 comments on commit d7b5f06

Please sign in to comment.
You can’t perform that action at this time.