Class: Ucode::Glyphs::Source::Result

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

Overview

One resolved glyph. Carries the SVG payload and enough provenance to debug "where did this glyph come from?" without holding a reference back to the source.

Instance Attribute Summary collapse

Instance Attribute Details

#codepointObject

Returns the value of attribute codepoint

Returns:

  • (Object)

    the current value of codepoint



28
29
30
# File 'lib/ucode/glyphs/source.rb', line 28

def codepoint
  @codepoint
end

#provenanceObject

Returns the value of attribute provenance

Returns:

  • (Object)

    the current value of provenance



28
29
30
# File 'lib/ucode/glyphs/source.rb', line 28

def provenance
  @provenance
end

#svgObject

Returns the value of attribute svg

Returns:

  • (Object)

    the current value of svg



28
29
30
# File 'lib/ucode/glyphs/source.rb', line 28

def svg
  @svg
end

#tierObject

Returns the value of attribute tier

Returns:

  • (Object)

    the current value of tier



28
29
30
# File 'lib/ucode/glyphs/source.rb', line 28

def tier
  @tier
end