Sha256: 86c0adba63f31efea5174807b48a2294006b16c066aec9c2ebd86b35f4ceff59
Contents?: true
Size: 616 Bytes
Versions: 18
Compression:
Stored size: 616 Bytes
Contents
class HTMLEntities class << self # # Legacy compatibility class method allowing direct encoding of XHTML1 entities. # See HTMLEntities#encode for description of parameters. # def encode_entities(*args) xhtml1_entities.encode(*args) end # # Legacy compatibility class method allowing direct decoding of XHTML1 entities. # See HTMLEntities#decode for description of parameters. # def decode_entities(*args) xhtml1_entities.decode(*args) end private def xhtml1_entities @xhtml1_entities ||= new('xhtml1') end end end
Version data entries
18 entries across 18 versions & 4 rubygems