The following example only generates documentation for the first method:
class Simple
# Just a simple method.
#
# text - The String to return.
#
# Returns a String.
def string(text)
text
end
# Just another simple method.
#
# text - The String to return.
#
# Returns a String.
def another_string(text)
text
end
end
Actual:
--------------------------------------------------------------------------------
Simple#string(text)
Just a simple method.
text - The String to return.
Returns a String.
Expected:
--------------------------------------------------------------------------------
Simple#string(text)
Just a simple method.
text - The String to return.
Returns a String.
Simple#another_string(text)
Just another simple method.
text - The String to return.
Returns a String.
Version 0.2.5
The following example only generates documentation for the first method:
Actual:
Expected: