Corrected with rubocop cop 'Style/ModuleFunction'.

This commit is contained in:
Thorsten Eckel 2015-05-07 14:47:13 +02:00
parent afcb6bd728
commit 4e807587be
3 changed files with 2 additions and 4 deletions

View file

@ -212,5 +212,3 @@ Lint/UnreachableCode:
Enabled: false
Lint/ShadowingOuterLocalVariable:
Enabled: false
Style/ModuleFunction:
Enabled: false

View file

@ -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

View file

@ -1,7 +1,7 @@
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
module Ticket::Number::Increment
extend self
module_function
def generate