Sha256: 834256280c7a0353c12ef96fb41e83b435eefc621e89a186414706eb3ed5755a

Contents?: true

Size: 391 Bytes

Versions: 36

Compression:

Stored size: 391 Bytes

Contents

module RailsConnector

  # Include this module in order to tag the string as one with HTML content
  module HtmlString
    include LinkResolvable
    # Returns whether the String contains HTML (default to true, overrides String.html?).
    def html?
      true
    end
  end

end

class String
  # Returns whether the String contains HTML (default to false).
  def html?
    false
  end
end

Version data entries

36 entries across 36 versions & 3 rubygems

Version Path
infopark_rails_connector-6.8.2.36.82613853 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.2.7.128454143 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.1.26.236500544 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.1 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.0.539.93842523 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.0.529.114081979 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.0.518.30999728 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.0.515.34928522 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.0.498.46559598 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.0.480.261594408 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.0.444.171626367 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.0.406.131718077 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.0.356.19698103 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.0.348.160665197 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.0.328.4a753fc lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.0.322.c003f11 lib/rails_connector/html_string.rb