Class: Ucode::Glyphs::UniversalSet::PreBuildReport

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

Overview

Report produced by PreBuildCheck. Carries the raw findings without deciding whether to abort — that decision lives on the check itself so callers can inspect the report without rescuing.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#config_loadedObject

Returns the value of attribute config_loaded

Returns:

  • (Object)

    the current value of config_loaded



19
20
21
# File 'lib/ucode/glyphs/universal_set/pre_build_check.rb', line 19

def config_loaded
  @config_loaded
end

#coverage_gapsObject

Returns the value of attribute coverage_gaps

Returns:

  • (Object)

    the current value of coverage_gaps



19
20
21
# File 'lib/ucode/glyphs/universal_set/pre_build_check.rb', line 19

def coverage_gaps
  @coverage_gaps
end

#missing_fontsObject

Returns the value of attribute missing_fonts

Returns:

  • (Object)

    the current value of missing_fonts



19
20
21
# File 'lib/ucode/glyphs/universal_set/pre_build_check.rb', line 19

def missing_fonts
  @missing_fonts
end

#source_config_pathObject

Returns the value of attribute source_config_path

Returns:

  • (Object)

    the current value of source_config_path



19
20
21
# File 'lib/ucode/glyphs/universal_set/pre_build_check.rb', line 19

def source_config_path
  @source_config_path
end

#unicode_versionObject

Returns the value of attribute unicode_version

Returns:

  • (Object)

    the current value of unicode_version



19
20
21
# File 'lib/ucode/glyphs/universal_set/pre_build_check.rb', line 19

def unicode_version
  @unicode_version
end

Instance Method Details

#ok?Boolean

Returns:

  • (Boolean)


22
23
24
# File 'lib/ucode/glyphs/universal_set/pre_build_check.rb', line 22

def ok?
  config_loaded && missing_fonts.empty?
end