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
19
20
21
|
# File 'lib/sass/value/mixin.rb', line 19
def ==(other)
other.is_a?(Sass::Value::Mixin) && other.id == id
end
|
#assert_mixin(_name = nil) ⇒ Mixin
29
30
31
|
# File 'lib/sass/value/mixin.rb', line 29
def assert_mixin(_name = nil)
self
end
|
#hash ⇒ Integer
24
25
26
|
# File 'lib/sass/value/mixin.rb', line 24
def hash
@hash ||= id.hash
end
|