Skip to content

Commit

Permalink
moving expression up to function class
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Sep 23, 2010
1 parent 6c266b4 commit 445a0ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion lib/arel/nodes/count.rb
@@ -1,7 +1,6 @@
module Arel
module Nodes
class Count < Arel::Nodes::Function
include Arel::Expression

attr_accessor :distinct

Expand Down
1 change: 1 addition & 0 deletions lib/arel/nodes/function.rb
@@ -1,6 +1,7 @@
module Arel
module Nodes
class Function
include Arel::Expression
attr_accessor :expressions, :alias

def initialize expr, aliaz = nil
Expand Down

0 comments on commit 445a0ea

Please sign in to comment.