Sha256: 85b4c1b7344bea60f0700e603b0be4bb98e503371507296965b9cedb8d9720e3

Contents?: true

Size: 177 Bytes

Versions: 4

Compression:

Stored size: 177 Bytes

Contents

module Stack
  module Filters
    module String
      include Stack::Filters::Register
      
      def count_words(input)
        input.split.length
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stack-0.0.9 lib/stack/filters/string.rb
stack-0.0.8 lib/stack/filters/string.rb
stack-0.0.7 lib/stack/filters/string.rb
stack-0.0.6 lib/stack/filters/string.rb