Method: MindWords#linesplus
- Defined in:
- lib/mindwords.rb
#linesplus ⇒ Object
same as #lines but inludes the breadcrumb path; Helpful to identify which words don’t have a breadcrumb path.
160 161 162 163 164 165 166 167 |
# File 'lib/mindwords.rb', line 160 def linesplus() to_a.map do |word, _| r = search word r ? [word, r.] : [r, nil] end end |