Class PoArgument
In: app/models/po_argument.rb
Parent: ActiveRecord::Base

gettext による翻訳のパラメータのモデル。

Methods

Public Instance methods

個人利用のためのコピーを返す。

[Source]

    # File app/models/po_argument.rb, line 28
28:   def private_copy(po_message_id)
29:     argument = self.class.new
30:     argument.attributes = attributes
31:     argument.po_message_id = po_message_id
32:     argument.save!
33:     return argument
34:   end

[Validate]