Method: Command::Results::Presenter#item

Defined in:
lib/command-set/results.rb

#item(home, value, options = {}) ⇒ Object



295
296
297
298
299
300
301
302
# File 'lib/command-set/results.rb', line 295

def item( home, value, options={} )
  item = ListItem.new(value)

  add_item(home, item, options)

  notify(:saw, item)
  return nil
end