Class: MiniCSS::AST::UnicodeRange
- Inherits:
-
Object
- Object
- MiniCSS::AST::UnicodeRange
- Defined in:
- lib/minicss/ast/unicode_range.rb
Instance Attribute Summary collapse
-
#range_end ⇒ Object
Returns the value of attribute range_end.
-
#range_start ⇒ Object
Returns the value of attribute range_start.
Instance Method Summary collapse
-
#initialize(css) ⇒ UnicodeRange
constructor
A new instance of UnicodeRange.
Constructor Details
#initialize(css) ⇒ UnicodeRange
Returns a new instance of UnicodeRange.
8 9 10 |
# File 'lib/minicss/ast/unicode_range.rb', line 8 def initialize(css) @range_start, @range_end = css.opts.slice(:start, :end).values end |
Instance Attribute Details
#range_end ⇒ Object
Returns the value of attribute range_end.
6 7 8 |
# File 'lib/minicss/ast/unicode_range.rb', line 6 def range_end @range_end end |
#range_start ⇒ Object
Returns the value of attribute range_start.
6 7 8 |
# File 'lib/minicss/ast/unicode_range.rb', line 6 def range_start @range_start end |