Method: YARD::I18n::Message#initialize

Defined in:
lib/yard/i18n/message.rb

#initialize(id) ⇒ Message

Creates a trasnlate target message for message ID id.

Parameters:

  • id (String)

    the message ID of the translate target message.

Since:

  • 0.8.1



24
25
26
27
28
# File 'lib/yard/i18n/message.rb', line 24

def initialize(id)
  @id = id
  @locations = Set.new
  @comments = Set.new
end