Class: Yosina::Transliterators::HyphensData::HyphensRecord

Inherits:
Struct
  • Object
show all
Defined in:
lib/yosina/transliterators/hyphens_data.rb

Overview

Record for hyphen transliteration data

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ascii: nil, jisx0201: nil, jisx0208_90: nil, jisx0208_90_windows: nil, jisx0208_verbatim: nil) ⇒ HyphensRecord

Returns a new instance of HyphensRecord.



9
10
11
# File 'lib/yosina/transliterators/hyphens_data.rb', line 9

def initialize(ascii: nil, jisx0201: nil, jisx0208_90: nil, jisx0208_90_windows: nil, jisx0208_verbatim: nil)
  super
end

Instance Attribute Details

#asciiObject

Returns the value of attribute ascii

Returns:

  • (Object)

    the current value of ascii



8
9
10
# File 'lib/yosina/transliterators/hyphens_data.rb', line 8

def ascii
  @ascii
end

#jisx0201Object

Returns the value of attribute jisx0201

Returns:

  • (Object)

    the current value of jisx0201



8
9
10
# File 'lib/yosina/transliterators/hyphens_data.rb', line 8

def jisx0201
  @jisx0201
end

#jisx0208_90Object

Returns the value of attribute jisx0208_90

Returns:

  • (Object)

    the current value of jisx0208_90



8
9
10
# File 'lib/yosina/transliterators/hyphens_data.rb', line 8

def jisx0208_90
  @jisx0208_90
end

#jisx0208_90_windowsObject

Returns the value of attribute jisx0208_90_windows

Returns:

  • (Object)

    the current value of jisx0208_90_windows



8
9
10
# File 'lib/yosina/transliterators/hyphens_data.rb', line 8

def jisx0208_90_windows
  @jisx0208_90_windows
end

#jisx0208_verbatimObject

Returns the value of attribute jisx0208_verbatim

Returns:

  • (Object)

    the current value of jisx0208_verbatim



8
9
10
# File 'lib/yosina/transliterators/hyphens_data.rb', line 8

def jisx0208_verbatim
  @jisx0208_verbatim
end