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

Version Path
fastreader-1.0.0 lib/htmlentities/legacy.rb
fastreader-1.0.1 lib/htmlentities/legacy.rb
fastreader-1.0.4 lib/htmlentities/legacy.rb
fastreader-1.0.5 lib/htmlentities/legacy.rb
fastreader-1.0.2 lib/htmlentities/legacy.rb
fastreader-1.0.3 lib/htmlentities/legacy.rb
fastreader-1.0.6 lib/htmlentities/legacy.rb
fastreader-1.0.7 lib/htmlentities/legacy.rb
fastreader-1.0.8 lib/htmlentities/legacy.rb
htmlentities-4.0.0 lib/htmlentities/legacy.rb
kindle-feeds-1.0.1 lib/htmlentities/legacy.rb
kindle-feeds-1.0.0 lib/htmlentities/legacy.rb
kindle-feeds-1.0.4 lib/htmlentities/legacy.rb
kindle-feeds-1.0.3 lib/htmlentities/legacy.rb
kindle-feeds-1.0.6 lib/htmlentities/legacy.rb
kindle-feeds-1.0.2 lib/htmlentities/legacy.rb
kindle-feeds-1.0.5 lib/htmlentities/legacy.rb
typo-5.3 vendor/gems/htmlentities-4.0.0/lib/htmlentities/legacy.rb