Sha256: 9f2cbe3055b7e62a5fc9f79afc3e2ddaa1b2fd00f61ca588d59bb6e26e7eb6b8

Contents?: true

Size: 101 Bytes

Versions: 2

Compression:

Stored size: 101 Bytes

Contents

class String

  def humanize
    include?("-") ? self.split("-").join(" ").downcase : self
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
picturama-1.0.1 lib/ext/string.rb
picturama-1.0.0beta lib/ext/string.rb