Sha256: fb14885397baa10b6e4f53c700a0fb3b56fb57dd6674caaee34d86de5bd0b945
Contents?: true
Size: 494 Bytes
Versions: 11
Compression:
Stored size: 494 Bytes
Contents
grammar Browsers rule body space? browser_name space? headless? { def content hash = {} hash[:browser] = browser_name.content hash[:headless] = !elements.last.empty? hash end } end rule headless "headless" space? { def content true end } end rule browser_name [\S]+ { def content text_value end } end rule space [\s]+ { def content end } end end
Version data entries
11 entries across 11 versions & 1 rubygems