Sha256: 7ab3164552417b71f641dcb5aedc5091e44dbb35b28e33b6b4283ed2d3f06c39

Contents?: true

Size: 498 Bytes

Versions: 11

Compression:

Stored size: 498 Bytes

Contents

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

  def flayed?(a)
    a
  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.
# It should ignore the UncommunicativeParameterName as it's on the .todo.reek

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rubycritic-3.4.0 test/samples/reek/smelly.rb
rubycritic-3.3.0 test/samples/reek/smelly.rb
rubycritic-3.2.3 test/samples/reek/smelly.rb
rubycritic-3.2.2 test/samples/reek/smelly.rb
rubycritic-3.2.1 test/samples/reek/smelly.rb
rubycritic-3.2.0 test/samples/reek/smelly.rb
rubycritic-3.1.3 test/samples/reek/smelly.rb
rubycritic-3.1.2 test/samples/reek/smelly.rb
rubycritic-3.1.1 test/samples/reek/smelly.rb
rubycritic-3.1.0 test/samples/reek/smelly.rb
rubycritic-3.0.0 test/samples/reek/smelly.rb