Sha256: 8bd3109f29e744482eb3fed3defa21593ff204de0bd525d0a5c4c59c3fe17afb
Contents?: true
Size: 412 Bytes
Versions: 1
Compression:
Stored size: 412 Bytes
Contents
module CssParserMaster class Selectors include Enumerable attr_reader :selectors def << selector selectors << selector end def all map{|sel| sel.split(',') } end def each selectors.each { |sel| yield sel } end def empty? selectors.empty? end def initialize(selectors = []) @selectors = selectors end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
css_parser_master-1.2.4 | lib/css_parser_master/selectors.rb |