Sha256: c2b86d4e8d10fcc647540ac7f3d9b2ced553c9fb2cf521c42bd4a78a8d0bba4e
Contents?: true
Size: 670 Bytes
Versions: 2
Compression:
Stored size: 670 Bytes
Contents
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Create the name of a table like Rails does for models to table names. This method uses the pluralize method on the last word in the string. - !ruby/struct:SM::Flow::P body: Examples - !ruby/struct:SM::Flow::VERB body: " "RawScaledScorer".tableize #=> "raw_scaled_scorers"\n "egg_and_ham".tableize #=> "egg_and_hams"\n "fancyCategory".tableize #=> "fancy_categories"\n" full_name: String::Style::tableize is_singleton: true name: tableize params: (class_name) visibility: public
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facets-2.4.2 | doc/ri/String/Style/tableize-c.yaml |
facets-2.4.3 | doc/ri/String/Style/tableize-c.yaml |