Class: Sass::Value::Mixin
- Inherits:
-
Object
- Object
- Sass::Value::Mixin
show all
- Includes:
- Sass::Value
- Defined in:
- lib/sass/value/mixin.rb
Overview
Instance Method Summary
collapse
#[], #assert_boolean, #assert_calculation, #assert_color, #assert_function, #assert_map, #assert_number, #assert_string, #at, #bracketed?, #eql?, #sass_index_to_array_index, #separator, #to_a, #to_bool, #to_map, #to_nil
Instance Method Details
#==(other) ⇒ ::Boolean
21
22
23
|
# File 'lib/sass/value/mixin.rb', line 21
def ==(other)
other.is_a?(Sass::Value::Mixin) && other.id == id
end
|
#assert_mixin(_name = nil) ⇒ Mixin
31
32
33
|
# File 'lib/sass/value/mixin.rb', line 31
def assert_mixin(_name = nil)
self
end
|
#hash ⇒ Integer
26
27
28
|
# File 'lib/sass/value/mixin.rb', line 26
def hash
@hash ||= id.hash
end
|