Sha256: 724cb0b469087a658a5a18c385667e38c06f4871cc923062ab50465d36c65305
Contents?: true
Size: 338 Bytes
Versions: 10
Compression:
Stored size: 338 Bytes
Contents
require 'facets/string/methodize' class Module # Translate a module name to a suitable method name. # # module ::EgMethodize # module Eg # end # end # # EgMethodize.methodize #=> "eg_methodize" # EgMethodize::Eg.methodize #=> "eg_methodize__eg" # def methodize name.methodize end end
Version data entries
10 entries across 9 versions & 2 rubygems