Flowdock
method

extract_call_seq

Importance_1
v2_1_10 - Show latest stable - 0 notes - Class: Comment
extract_call_seq(method) public

Look for a ‘call-seq’ in the comment to override the normal parameter handling. The For example, all of the following will be used as the :call-seq:

# :call-seq:
#   ARGF.readlines(sep=$/)     -> array
#   ARGF.readlines(limit)      -> array
#   ARGF.readlines(sep, limit) -> array
#
#   ARGF.to_a(sep=$/)     -> array
#   ARGF.to_a(limit)      -> array
#   ARGF.to_a(sep, limit) -> array
Show source
Register or log in to add new notes.