Method: Glyph::Utils#current_output_setting

Defined in:
lib/glyph/utils.rb

#current_output_setting(setting) ⇒ Object

Returns the value of a setting referred to the current output format

Parameters:

Since:

  • 0.6.0



117
118
119
# File 'lib/glyph/utils.rb', line 117

def current_output_setting(setting)
  Glyph["output.#{Glyph['document.output']}.#{setting}"]
end