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.1.1 lib/abstractor/utility.rb
abstractor-4.1.0 lib/abstractor/utility.rb
abstractor-4.0.2 lib/abstractor/utility.rb
abstractor-4.0.1 lib/abstractor/utility.rb
abstractor-4.0.0 lib/abstractor/utility.rb
abstractor-2.1.2 lib/abstractor/utility.rb
abstractor-2.1.01 lib/abstractor/utility.rb
abstractor-2.1.0 lib/abstractor/utility.rb
abstractor-2.0.1 lib/abstractor/utility.rb
abstractor-2.0.0 lib/abstractor/utility.rb
abstractor-1.0.23 lib/abstractor/utility.rb
abstractor-1.0.22 lib/abstractor/utility.rb
abstractor-1.0.20 lib/abstractor/utility.rb
abstractor-1.0.19 lib/abstractor/utility.rb
abstractor-1.0.18 lib/abstractor/utility.rb
abstractor-1.0.17 lib/abstractor/utility.rb
abstractor-1.0.16 lib/abstractor/utility.rb
abstractor-1.0.15 lib/abstractor/utility.rb
abstractor-1.0.14 lib/abstractor/utility.rb
abstractor-1.0.13 lib/abstractor/utility.rb