Sha256: ec51c0bf76190be7224c85214aaf19909891b31f2734d58609752b16a41e6bc9

Contents?: true

Size: 277 Bytes

Versions: 2

Compression:

Stored size: 277 Bytes

Contents

# Author::    Lucas Carlson  (mailto:lucas@rufy.com)
# Copyright:: Copyright (c) 2005 Lucas Carlson
# License::   LGPL

require 'fast_stemmer'
require 'classifier-reborn/extensions/hasher'

class Object
  def prepare_category_name; to_s.gsub("_"," ").capitalize.intern end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
classifier-reborn-2.0.1 lib/classifier-reborn/extensions/string.rb
classifier-reborn-2.0.0 lib/classifier-reborn/extensions/string.rb