Module: PancakeParser
- Defined in:
- lib/PancakeParser.rb,
lib/PancakeParser/version.rb
Constant Summary collapse
- VERSION =
"1.0.0"
Class Method Summary collapse
Class Method Details
.how_many?(pancakeable_string) ⇒ Boolean
5 6 7 |
# File 'lib/PancakeParser.rb', line 5 def self.how_many?(pancakeable_string) pancakeable_string.scan(/pancake/i).count end |