Sha256: 08be7d0b71c1ca3110004c5b1f3ca200d3bcc8f530ac7e07fcdec639073183c4
Contents?: true
Size: 1.37 KB
Versions: 1
Compression:
Stored size: 1.37 KB
Contents
module ActiveSupport module Inflector extend MonkeySupport::Memoizable extend MonkeySupport::CProxy # This breaks a test case in rails now :( # 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
monkeysupport-1.0.0 | lib/monkeysupport/activesupport/inflector.rb |