Corrected with rubocop cop 'Style/ModuleFunction'.
This commit is contained in:
parent
afcb6bd728
commit
4e807587be
3 changed files with 2 additions and 4 deletions
|
@ -212,5 +212,3 @@ Lint/UnreachableCode:
|
|||
Enabled: false
|
||||
Lint/ShadowingOuterLocalVariable:
|
||||
Enabled: false
|
||||
Style/ModuleFunction:
|
||||
Enabled: false
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
|
||||
# rubocop:disable ClassAndModuleChildren
|
||||
module Ticket::Number::Date
|
||||
extend self
|
||||
module_function
|
||||
|
||||
def generate
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
|
||||
|
||||
module Ticket::Number::Increment
|
||||
extend self
|
||||
module_function
|
||||
|
||||
def generate
|
||||
|
||||
|
|
Loading…
Reference in a new issue