Sha256: 65fca51baa5ea7db3111f48d07506da9ccd791268e63871a63a158a8f746081d

Contents?: true

Size: 390 Bytes

Versions: 14

Compression:

Stored size: 390 Bytes

Contents

class Theon
  def reeks?(reek = true)
    reek
  end
end

# Reek should report
# [1]:Theon has no descriptive comment (IrresponsibleModule)
# [2]:Theon#reeks? has boolean parameter 'reek' (BooleanParameter)
# This comment is below the module because otherwise Reek will interpret this
# as a comment describing the module which would thus prevent
# IrresponsibleModule from being reported.

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rubycritic-2.9.4 test/samples/reek/smelly.rb
rubycritic-2.9.3 test/samples/reek/smelly.rb
rubycritic-2.9.2 test/samples/reek/smelly.rb
rubycritic-2.9.1 test/samples/reek/smelly.rb
rubycritic-2.9.0 test/samples/reek/smelly.rb
rubycritic-2.8.0 test/samples/reek/smelly.rb
rubycritic-2.7.1 test/samples/reek/smelly.rb
rubycritic-2.7.0 test/samples/reek/smelly.rb
rubycritic-2.6.0 test/samples/reek/smelly.rb
rubycritic-2.5.0 test/samples/reek/smelly.rb
rubycritic-2.4.1 test/samples/reek/smelly.rb
rubycritic-2.4.0 test/samples/reek/smelly.rb
rubycritic-2.3.0 test/samples/reek/smelly.rb
rubycritic-2.2.0 test/samples/reek/smelly.rb