class ISOCodes::Country

Included Modules

Defined in:

iso_codes/countries.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def alpha_2 : String #

[View source]
def alpha_2=(alpha_2 : String) #

[View source]
def alpha_3 : String #

[View source]
def alpha_3=(alpha_3 : String) #

[View source]
def common_name : String | Nil #

[View source]
def common_name=(common_name : String | Nil) #

[View source]
def flag : String #

[View source]
def flag=(flag : String) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def numeric : String #

[View source]
def numeric=(numeric : String) #

[View source]
def official_name : String | Nil #

[View source]
def official_name=(official_name : String | Nil) #

[View source]
def to_s(io : IO) : Nil #
Description copied from class Reference

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>

[View source]
def translation(language_code : String) #

[View source]