]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/EmptyLinesAroundClassBody in app/models/query.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 20 Nov 2019 16:00:28 +0000 (16:00 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 20 Nov 2019 16:00:28 +0000 (16:00 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19097 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/query.rb

index 93c36887a1271ded41ea38fe7d06c92d11fb43e4..7c09371673148fdeef890e76af039aebd669f7e8 100644 (file)
@@ -85,7 +85,6 @@ class QueryColumn
 end
 
 class TimestampQueryColumn < QueryColumn
-
   def groupable
     if @groupable
       Redmine::Database.timestamp_to_date(sortable, User.current.time_zone)
@@ -100,7 +99,6 @@ class TimestampQueryColumn < QueryColumn
 end
 
 class QueryAssociationColumn < QueryColumn
-
   def initialize(association, attribute, options={})
     @association = association
     @attribute = attribute
@@ -120,7 +118,6 @@ class QueryAssociationColumn < QueryColumn
 end
 
 class QueryCustomFieldColumn < QueryColumn
-
   def initialize(custom_field, options={})
     self.name = "cf_#{custom_field.id}".to_sym
     self.sortable = custom_field.order_statement || false
@@ -164,7 +161,6 @@ class QueryCustomFieldColumn < QueryColumn
 end
 
 class QueryAssociationCustomFieldColumn < QueryCustomFieldColumn
-
   def initialize(association, custom_field, options={})
     super(custom_field, options)
     self.name = "#{association}.cf_#{custom_field.id}".to_sym