Sha256: e8e0c586b00c025e9e3964a588659462a26ec47006edd5c160906165aabfefab
Contents?: true
Size: 493 Bytes
Versions: 1
Compression:
Stored size: 493 Bytes
Contents
require "cabal/util/version" module Cabal # Basic utility methods for Cabal module Util def self.included(klass) klass.extend(self) end # Noralizes a string # @param string [String] the string to normalize # @return [String] the normalized string def self.normalize(string) string.to_s.downcase.gsub(/\s+/, '') end # Normalizes a string # @see .normalize def normalize(string) Cabal::Util.normalize(string) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cabal-util-0.1.0 | lib/cabal/util.rb |