Sha256: 25d600c6dae4e748f998406ca8f00aefeb470891ca8b008324a4be1df5e52bf9

Contents?: true

Size: 493 Bytes

Versions: 10

Compression:

Stored size: 493 Bytes

Contents

# rubocop:disable Naming/MethodName
# rubocop:disable Naming/UncommunicativeMethodParamName

module Arel
  module Nodes
    class CurrentDate < Arel::Nodes::Node
    end
  end

  module Visitors
    class ToSql
      def visit_Arel_Nodes_CurrentDate(_o, collector)
        collector << 'current_date'
      end
    end

    class Dot
      alias visit_Arel_Nodes_CurrentDate terminal
    end
  end
end

# rubocop:enable Naming/MethodName
# rubocop:enable Naming/UncommunicativeMethodParamName

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
arel_toolkit-0.4.9 lib/arel/extensions/current_date.rb
arel_toolkit-0.4.8 lib/arel/extensions/current_date.rb
arel_toolkit-0.4.7 lib/arel/extensions/current_date.rb
arel_toolkit-0.4.6 lib/arel/extensions/current_date.rb
arel_toolkit-0.4.5 lib/arel/extensions/current_date.rb
arel_toolkit-0.4.4 lib/arel/extensions/current_date.rb
arel_toolkit-0.4.3 lib/arel/extensions/current_date.rb
arel_toolkit-0.4.2 lib/arel/extensions/current_date.rb
arel_toolkit-0.4.1 lib/arel/extensions/current_date.rb
arel_toolkit-0.4.0 lib/arel/extensions/current_date.rb