class Bidi::UtfChar

Public Class Methods

new(value, bidiType, mirroredInd) click to toggle source
# File lib/bidi/bidi.rb, line 98
def initialize value, bidiType, mirroredInd
  self['value']=value
  self['bidiType']=bidiType
  self['mirroredInd']=mirroredInd
end

Public Instance Methods

is_neutral() click to toggle source
# File lib/bidi/bidi.rb, line 104
def is_neutral
  bidiType = self["bidiType"]
  bidiType == 'B' or bidiType == 'S' or bidiType == 'WS' or bidiType == 'ON'
end