lib/inch/evaluation/role/method.rb in inch-0.4.10 vs lib/inch/evaluation/role/method.rb in inch-0.5.0.rc1
- old
+ new
@@ -30,12 +30,11 @@
def suggestion
"Describe what '#{object.name}' returns"
end
end
- # Role assigned to methods where the return value is decribed in the
- # docs
+ # Role assigned to methods where the return value is decribed in the docs
class WithReturnDescription < Base
applicable_if :return_described?
end
# Role assigned to methods where the return value is not decribed
@@ -44,9 +43,10 @@
def suggestion
"Describe what '#{object.name}' returns"
end
end
+
# Role assigned to methods with many lines
#
# @see CodeObject::Proxy::MethodObject#has_many_lines?
class WithManyLines < Base