Class: Xberg::SvgOptions

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSvgOptions

Returns a new instance of SvgOptions.

Parameters:

  • sanitize: (Boolean)
  • render_dpi: (Float)


151
# File 'sig/types.rbs', line 151

def initialize: (?sanitize: bool, ?render_dpi: Float) -> void

Instance Attribute Details

#render_dpiFloat?

Returns the value of attribute render_dpi.

Returns:

  • (Float, nil)


149
150
151
# File 'sig/types.rbs', line 149

def render_dpi
  @render_dpi
end

#sanitizeBoolean?

Returns the value of attribute sanitize.

Returns:

  • (Boolean, nil)


148
149
150
# File 'sig/types.rbs', line 148

def sanitize
  @sanitize
end

Class Method Details

.defaultSvgOptions

Returns:



152
# File 'sig/types.rbs', line 152

def self.default: () -> SvgOptions