Sha256: d30b7a15af6dc02db1bdf7d77e2806d45c9abb63560d04319d0a75860d7e4fdc
Contents?: true
Size: 1.33 KB
Versions: 2
Compression:
Stored size: 1.33 KB
Contents
module ActiveSupport module Inflector extend MonkeySupport::Memoizable extend MonkeySupport::CProxy monkey_memoize :pluralize, :singularize, :humanize monkey_c_proxy(:camelize, :activesupport_inflector_camelize, [:string, # lower_case_and_underscored_word [:bool, true]]) # first_letter_in_uppercase monkey_c_proxy(:underscore, :activesupport_inflector_underscore, [:string]) # camel_cased_word monkey_c_proxy(:dasherize, :activesupport_inflector_dasherize, [:string]) # underscored_word monkey_c_proxy(:foreign_key, :activesupport_inflector_foreign_key, [:string, # class_name [:bool, true]]) # separate_class_name_and_id_with_underscore monkey_c_proxy(:demodulize, :activesupport_inflector_demodulize, [:string]) # class_name_in_module monkey_c_proxy(:ordinalize, :activesupport_inflector_ordinalize, [:fixnum]) # number monkey_c_proxy(:parameterize, :activesupport_inflector_parameterize, [:string, # string [:string, '-']]) # separator end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
monkeysupport-0.2.0 | lib/monkeysupport/activesupport/inflector.rb |
monkeysupport-0.1.2 | lib/monkeysupport/activesupport/inflector.rb |