lib/yard/i18n/messages.rb in yard-0.9.28 vs lib/yard/i18n/messages.rb in yard-0.9.29

- old
+ new

@@ -26,10 +26,10 @@ # or nil if no message for the ID is found. def [](id) @messages[id] end - # Registers a {Message}, the mssage ID of which is +id+. If + # Registers a {Message}, the message ID of which is +id+. If # corresponding +Message+ is already registered, the previously # registered object is returned. # # @param [String] id the ID of the message to be registered. # @return [Message] the registered +Message+.