public Method

Test.keyword_display(array)

There's no documentation for this item.

Source Code

# File test/unit/autorunner.rb, line 206
def keyword_display(array)
  list = array.collect {|e, *| e.to_s}
  Array === array or list.sort!
  list.collect {|e| e.sub(/^(.)([A-Za-z]+)(?=\w*$)/, '\\1[\\2]')}.join(", ")
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.