0
0
Fork 0

Remove unused LanguagePresenter#native_name (#33551)

This commit is contained in:
Matt Jankowski 2025-01-13 07:58:53 -05:00 committed by GitHub
parent 68d818121d
commit 3c4a83fc62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 7 deletions

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
class LanguagePresenter < ActiveModelSerializers::Model
attributes :code, :name, :native_name
attributes :code, :name
def initialize(code)
super()
@ -13,8 +13,4 @@ class LanguagePresenter < ActiveModelSerializers::Model
def name
@item[0]
end
def native_name
@item[1]
end
end