Module: SassC::InlineSVG::Functions
- Defined in:
- lib/sassc-inline-svg.rb
Instance Method Summary collapse
Instance Method Details
#inline_svg(path, options = nil) ⇒ Object
9 10 11 12 13 |
# File 'lib/sassc-inline-svg.rb', line 9 def inline_svg(path, = nil) svg = read_file(path.value.strip) svg = (svg, ) SassC::Script::Value::String.new(encode_url(svg)) end |