aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/nodes/casted.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2017-12-06 23:22:28 +1030
committerGitHub <noreply@github.com>2017-12-06 23:22:28 +1030
commitaa11ad9129b65e637c05cc4b26a2cbbff6f143c2 (patch)
tree95e60e1280aec63222856ef4e494947eb0913092 /lib/arel/nodes/casted.rb
parent5f25b0aa7fafc1a91605117f8bce700466e0d663 (diff)
parentff53df96875de84ee02895772b59448f35a5a0c2 (diff)
downloadrails-aa11ad9129b65e637c05cc4b26a2cbbff6f143c2.tar.gz
rails-aa11ad9129b65e637c05cc4b26a2cbbff6f143c2.tar.bz2
rails-aa11ad9129b65e637c05cc4b26a2cbbff6f143c2.zip
Merge pull request #449 from kbrock/expr_node
Introduce Expression Node
Diffstat (limited to 'lib/arel/nodes/casted.rb')
-rw-r--r--lib/arel/nodes/casted.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/nodes/casted.rb b/lib/arel/nodes/casted.rb
index 1d7385d01b..f945063dd2 100644
--- a/lib/arel/nodes/casted.rb
+++ b/lib/arel/nodes/casted.rb
@@ -1,7 +1,7 @@
# frozen_string_literal: true
module Arel
module Nodes
- class Casted < Arel::Nodes::Node # :nodoc:
+ class Casted < Arel::Nodes::NodeExpression # :nodoc:
attr_reader :val, :attribute
def initialize val, attribute
@val = val