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
|
Enabled: false
|
||||||
Lint/ShadowingOuterLocalVariable:
|
Lint/ShadowingOuterLocalVariable:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Style/ModuleFunction:
|
|
||||||
Enabled: false
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
|
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
|
||||||
# rubocop:disable ClassAndModuleChildren
|
# rubocop:disable ClassAndModuleChildren
|
||||||
module Ticket::Number::Date
|
module Ticket::Number::Date
|
||||||
extend self
|
module_function
|
||||||
|
|
||||||
def generate
|
def generate
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
|
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
|
||||||
|
|
||||||
module Ticket::Number::Increment
|
module Ticket::Number::Increment
|
||||||
extend self
|
module_function
|
||||||
|
|
||||||
def generate
|
def generate
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue