Class: Sass::Selector::AbstractSequence
- Inherits:
-
Object
- Object
- Sass::Selector::AbstractSequence
- Defined in:
- lib/sass/selector/abstract_sequence.rb
Overview
The abstract parent class of the various selector sequence classes.
All subclasses should implement a members
method
that returns an array of object that respond to #line=
and #filename=
.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#filename ⇒ String?
The name of the file in which this selector was declared.
-
#line ⇒ Fixnum
The line of the Sass template on which this selector was declared.
Instance Attribute Details
#filename ⇒ String?
The name of the file in which this selector was declared.
16 17 18 |
# File 'lib/sass/selector/abstract_sequence.rb', line 16
def filename
@filename
end
|
#line ⇒ Fixnum
The line of the Sass template on which this selector was declared.
11 12 13 |
# File 'lib/sass/selector/abstract_sequence.rb', line 11
def line
@line
end
|