module MirrorMirror::CssizePatch

Public Instance Methods

visit_directive(directive) { || ... } click to toggle source
# File lib/mirror-mirror/sass_patch.rb, line 37
def visit_directive(directive)
  if directive.resolved_value.start_with?("@-mirror-mirror")
    did_bubble = bubble(directive)
    yield unless did_bubble
    directive
  else
    yield
    directive
  end
end