Class: Ucode::Glyphs::LastResort::Renderer::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/ucode/glyphs/last_resort/renderer.rb

Overview

Result of rendering one codepoint.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#codepointObject

Returns the value of attribute codepoint

Returns:

  • (Object)

    the current value of codepoint



26
27
28
# File 'lib/ucode/glyphs/last_resort/renderer.rb', line 26

def codepoint
  @codepoint
end

#glyph_nameObject

Returns the value of attribute glyph_name

Returns:

  • (Object)

    the current value of glyph_name



26
27
28
# File 'lib/ucode/glyphs/last_resort/renderer.rb', line 26

def glyph_name
  @glyph_name
end

#svgObject

Returns the value of attribute svg

Returns:

  • (Object)

    the current value of svg



26
27
28
# File 'lib/ucode/glyphs/last_resort/renderer.rb', line 26

def svg
  @svg
end

Instance Method Details

#ok?Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/ucode/glyphs/last_resort/renderer.rb', line 27

def ok?
  !svg.nil?
end