--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Creates a foreign key name from a class name.
- !ruby/struct:SM::Flow::P 
  body: "@example"
- !ruby/struct:SM::Flow::VERB 
  body: "  &quot;Message&quot;.foreign_key #=&gt; &quot;message_id&quot;\n  &quot;Admin::Post&quot;.foreign_key #=&gt; &quot;post_id&quot;\n"
full_name: Extlib::Inflection::foreign_key
is_singleton: true
name: foreign_key
params: (class_name, key = "id")
visibility: public
