fix YARD documentation for method