Class: Camdict::Definition::IPA

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

Overview

Struct IPA is the written pronunciations for UK/US.

uk: the UK IPA; k: the superscript index in UK IPA.

us: the US IPA; s: the superscript index in US IPA.

Instance Attribute Summary collapse

Instance Attribute Details

#kObject

Returns the value of attribute k

Returns:

  • (Object)

    the current value of k



12
13
14
# File 'lib/camdict/definition.rb', line 12

def k
  @k
end

#sObject

Returns the value of attribute s

Returns:

  • (Object)

    the current value of s



12
13
14
# File 'lib/camdict/definition.rb', line 12

def s
  @s
end

#ukObject

Returns the value of attribute uk

Returns:

  • (Object)

    the current value of uk



12
13
14
# File 'lib/camdict/definition.rb', line 12

def uk
  @uk
end

#usObject

Returns the value of attribute us

Returns:

  • (Object)

    the current value of us



12
13
14
# File 'lib/camdict/definition.rb', line 12

def us
  @us
end