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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Sets some preferences to parse ActiveRecord files.
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "*"
    body: "config: a Hash of the config. It can takes some values below:"
  - !ruby/object:SM::Flow::LIST 
    contents: 
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: ":use_classname - If true, the msgids of ActiveRecord become &quot;ClassName|FieldName&quot; (e.g. &quot;Article|Title&quot;). Otherwise the ClassName is not used (e.g. &quot;Title&quot;). Default is true."
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: ":db_yml - the path of database.yml. Default is &quot;config/database.yml&quot;."
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: ":db_mode - the mode of the database. Default is &quot;development&quot;"
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: ":activerecord_classes - an Array of the superclass of the models. The classes should be String value. Default is [&quot;ActiveRecord::Base&quot;]"
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: ":untranslate_columns - an Array of the column names which is ignored as the msgid."
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: ":adapter - the options for ActiveRecord::Base.establish_connection. If this value is set, :db_yml option is ignored."
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: ":host - ditto"
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: ":username - ditto"
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: ":password - ditto"
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: ":database - ditto"
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: ":socket - ditto"
    - !ruby/struct:SM::Flow::LI 
      label: "*"
      body: ":encoding - ditto"
    type: :BULLET
  type: :BULLET
- !ruby/struct:SM::Flow::P 
  body: "&quot;ClassName|FieldName&quot; uses GetText.sgettext. So you don't need to translate the left-side of &quot;|&quot;. See &lt;Documents for Translators for more details(http://www.yotabanana.com/hiki/ruby-gettext-translate.html)&gt;."
full_name: GetText::ActiveRecordParser#init
is_singleton: false
name: init
params: (config)
visibility: public
