Skip to content

Commit

Permalink
Merge pull request rails#22 from bogdan/patch-2
Browse files Browse the repository at this point in the history
Fixed Nodes::Unary#children method
  • Loading branch information
tenderlove committed Feb 22, 2012
2 parents 1949664 + f56de3c commit bded059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/journey/nodes/node.rb
Expand Up @@ -83,7 +83,7 @@ def symbol?; true; end
end

class Unary < Node
def children; [value] end
def children; [left] end
end

class Group < Unary
Expand Down

0 comments on commit bded059

Please sign in to comment.