Class: BCP47::Tag

Inherits:
Struct
  • Object
show all
Defined in:
lib/bcp47_spec.rb

Instance Attribute Summary collapse

Instance Attribute Details

#extensionsObject

Returns the value of attribute extensions

Returns:

  • (Object)

    the current value of extensions



9
10
11
# File 'lib/bcp47_spec.rb', line 9

def extensions
  @extensions
end

#languageObject

Returns the value of attribute language

Returns:

  • (Object)

    the current value of language



9
10
11
# File 'lib/bcp47_spec.rb', line 9

def language
  @language
end

#privateObject

Returns the value of attribute private

Returns:

  • (Object)

    the current value of private



9
10
11
# File 'lib/bcp47_spec.rb', line 9

def private
  @private
end

#regionObject

Returns the value of attribute region

Returns:

  • (Object)

    the current value of region



9
10
11
# File 'lib/bcp47_spec.rb', line 9

def region
  @region
end

#scriptObject

Returns the value of attribute script

Returns:

  • (Object)

    the current value of script



9
10
11
# File 'lib/bcp47_spec.rb', line 9

def script
  @script
end

#variantsObject

Returns the value of attribute variants

Returns:

  • (Object)

    the current value of variants



9
10
11
# File 'lib/bcp47_spec.rb', line 9

def variants
  @variants
end