Module: MirrorMirror::DirectiveNodePatch

Defined in:
lib/mirror-mirror/sass_patch.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



50
51
52
# File 'lib/mirror-mirror/sass_patch.rb', line 50

def self.included(base)
  base.send(:attr_accessor, :group_end)
end

Instance Method Details

#bubbles?Boolean

Returns:

  • (Boolean)


54
55
56
57
58
59
60
# File 'lib/mirror-mirror/sass_patch.rb', line 54

def bubbles?
  if resolved_value
    resolved_value.start_with?("@-mirror-mirror")
  else
    value.first.start_with?("@-mirror-mirror")
  end
end