1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix all rubocop violations

This commit is contained in:
Rafael Mendonça França 2017-08-03 17:45:23 -04:00
parent 23b07019ae
commit f7d0bd657f
3 changed files with 4 additions and 3 deletions

View file

@ -465,12 +465,12 @@ module ActiveRecord
@binds = []
end
def << str
def <<(str)
@parts << str
self
end
def add_bind obj
def add_bind(obj)
@binds << obj
@parts << Arel::Nodes::BindParam.new(1)
self

View file

@ -1,4 +1,5 @@
# frozen_string_literal: true
require "time"
module ActiveSupport