Method: QB::Util.words_start_with?
- Defined in:
- lib/qb/util.rb
.words_start_with?(full_string, input) ⇒ Boolean
see if words from an input match words
49 50 51 52 53 |
# File 'lib/qb/util.rb', line 49 def self.words_start_with? full_string, input words_slice? full_string, input do |full_string_word, input_word| full_string_word.start_with? input_word end end |