Sha256: dffa0b3aaf8fce1b0992170d7ba49f519cf105261a96a7f80dfb1e88c114b19a
Contents?: true
Size: 641 Bytes
Versions: 6
Compression:
Stored size: 641 Bytes
Contents
# -*- encoding: utf-8 -*- module Nokogiri module XML # I think it's a bad idea to extend the Nokogiri library cause it makes a # too big dependency on Genit. # It will be much better to do a little wrapper over Nokogiri::XML::Node. class Node def genit_class? if self['class'] true else false end end def genit_here? if self['here'] true else false end end def genit_what? if self['what'] true else false end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems