Class: RDialogy::Checklist
Class Method Summary collapse
Class Method Details
.run(options = {}) ⇒ Object
23 24 25 26 27 28 |
# File 'lib/rdialogy/checklist.rb', line 23 def self.run(={}) super , true do |input| items = input.split(' ') items.map{|e| e.scan(/^"(.*)"$/).flatten.first } end end |