Files
news.gitea.happylizard.me/bin/gems/sass-embedded-1.104.1-x86_64-linux-gnu/lib/sass/value/mixin.rb
T
pizza2d1 4cee170d66
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s
Add bin and edit workflow
2026-09-16 13:11:16 -06:00

38 lines
740 B
Ruby

# frozen_string_literal: true
module Sass
module Value
# Sass's mixin type.
#
# @see https://sass-lang.com/documentation/js-api/classes/sassmixin/
class Mixin
include Value
class << self
private :new
end
# @return [Object]
protected attr_reader :compile_context
# @return [Integer]
protected attr_reader :id
# @return [::Boolean]
def ==(other)
other.is_a?(Sass::Value::Mixin) && other.compile_context == compile_context && other.id == id
end
# @return [Integer]
def hash
@hash ||= [compile_context, id].hash
end
# @return [Mixin]
def assert_mixin(_name = nil)
self
end
end
end
end