module Faststrap
Constants
- VERSION
Public Class Methods
handle_answer(answer,actions)
click to toggle source
# File lib/faststrap.rb, line 11 def self.handle_answer(answer,actions) actions.each do |a| if answer == "*" a.run else a.run if answer.map{|e| e.upcase}.include?(a.name.upcase) end end end