Skip to content

Commit

Permalink
Symbol#<<(Reg) isn't the way to make a Reg::Bound anymore
Browse files Browse the repository at this point in the history
now it's Reg#%(Symbol)
  • Loading branch information
coatl committed May 30, 2009
1 parent 89e8636 commit 3f162a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions regbind.rb
Expand Up @@ -21,6 +21,7 @@ module Reg
def bind(name=self)
Bound.new(name,self)
end
alias % bind

def side_effect(&block); SideEffect.new(self,&block) end
def undo(&block); Undo.new(self,&block) end
Expand Down
4 changes: 0 additions & 4 deletions regsugar.rb
Expand Up @@ -67,10 +67,6 @@ def -@
::Reg::Knows.new(self)
end

def <<(other)
::Reg::Bound.new(self,other)
end

def ~
::Reg::BoundRef.new(self)
end
Expand Down

0 comments on commit 3f162a2

Please sign in to comment.