Sha256: 46d0f536113b0a2238f8471b9f799e2cd422ff3f6e7fc54225fdb29ff9cd6871

Contents?: true

Size: 152 Bytes

Versions: 45

Compression:

Stored size: 152 Bytes

Contents

module Abstractor
  module Utility
    def self.dehumanize(target)
      result = target.to_s.dup
      result.downcase.gsub(/ +/,'_')
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
abstractor-4.4.7 lib/abstractor/utility.rb
abstractor-4.4.6 lib/abstractor/utility.rb
abstractor-4.4.5 lib/abstractor/utility.rb
abstractor-4.4.4 lib/abstractor/utility.rb
abstractor-4.4.3 lib/abstractor/utility.rb
abstractor-4.4.2 lib/abstractor/utility.rb
abstractor-4.4.1 lib/abstractor/utility.rb
abstractor-4.4.0 lib/abstractor/utility.rb
abstractor-4.3.3 lib/abstractor/utility.rb
abstractor-4.3.2 lib/abstractor/utility.rb
abstractor-4.3.1 lib/abstractor/utility.rb
abstractor-4.3.0 lib/abstractor/utility.rb
abstractor-4.2.3 lib/abstractor/utility.rb
abstractor-4.2.2 lib/abstractor/utility.rb
abstractor-4.2.1 lib/abstractor/utility.rb
abstractor-4.2.0 lib/abstractor/utility.rb
abstractor-4.1.5 lib/abstractor/utility.rb
abstractor-4.1.4 lib/abstractor/utility.rb
abstractor-4.1.3 lib/abstractor/utility.rb
abstractor-4.1.2 lib/abstractor/utility.rb