class

ISOCodes::Language

Inherits JSON::Serializable / Reference / Object

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

alpha_2
Source
alpha_2=(alpha_2 : String | Nil)
Source
alpha_3
Source
alpha_3=(alpha_3 : String)
Source
bibliographic
Source
bibliographic=(bibliographic : String | Nil)
Source
common_name
Source
common_name=(common_name : String | Nil)
Source
name
Source
name=(name : String)
Source
to_s(io : IO) : Nil

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>
Source
translation(language_code : String)
Source