Sha256: c7d9f176b98abea6c23b0a449fda8317aee88252dec8bc0241ee8e4ef712a9d8
Contents?: true
Size: 1.99 KB
Versions: 2
Compression:
Stored size: 1.99 KB
Contents
module Languages VERSION: String # See the writing guide of rbs: https://github.com/ruby/rbs#guides TYPES: Array[String] SCOPES: Array[String] @@data: Array[Language] def self?.[]: (String | Symbol) -> Language? def self?.search: (String|Regexp pattern, ?bool case_sensitive) -> Array[Language] def self?.all: () -> Array[Language] def self?.names: () -> Array[String] def self?.alpha2_codes: () -> Array[Symbol] def self?.alpha3_codes: () -> Array[Symbol] def self?.special_languages: () -> Array[Language] def self?.macrolanguages:() -> Array[Language] def self?.individual_languages: () -> Array[Language] def self?.ancient: () -> Array[Language] def self?.constructed: () -> Array[Language] def self?.extinct: () -> Array[Language] def self?.historical: () -> Array[Language] def self?.living: () -> Array[Language] def self?.special: () -> Array[Language] class Language attr_reader iso639_1: Symbol? attr_reader iso639_2b: Symbol? attr_reader iso639_2t: Symbol? attr_reader iso639_3: Symbol attr_reader scope: String attr_reader type: String attr_reader name: String attr_reader macrolanguage: Language? alias iso639_2 iso639_2t alias iso639_5 iso639_2 alias alpha2 iso639_1 alias alpha3 iso639_3 alias alpha3_bibliographic iso639_2b alias alpha3_terminology iso639_2t def initialize: ({id: String, part2b: String?, part2t: String?, part1: String?, scope: "I" | "M" | "S", language_type: "A" | "C" | "E" | "H" | "L" | "S", ref_name: String, comment: String?}) -> void def to_s: () -> String def special_language?: () -> bool def macrolanguage? :() -> bool def individual_language?: () -> bool def ancient?: () -> bool def constructed?: () -> bool def extinct?: () -> bool def historical?: () -> bool def living?: () -> bool def special?: () -> bool def ==: (untyped) -> bool alias eql? == def hash: () -> Integer def <=>: (Language) -> Integer end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
human_languages-0.8.0 | sig/languages.rbs |
human_languages-0.7.0 | sig/languages.rbs |