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_fiona_connector-7.0.1.5.2.3.rc4 lib/rails_connector/html_string.rb
infopark_fiona_connector-7.0.1 lib/rails_connector/html_string.rb
infopark_fiona_connector-7.0.1.beta2 lib/rails_connector/html_string.rb
infopark_fiona_connector-7.0.0 lib/rails_connector/html_string.rb
infopark_fiona_connector-6.10.0.beta1 lib/rails_connector/html_string.rb
infopark_cloud_connector-7.0.2 lib/rails_connector/html_string.rb
infopark_cloud_connector-7.0.1 lib/rails_connector/html_string.rb
infopark_cloud_connector-7.0.0 lib/rails_connector/html_string.rb
infopark_cloud_connector-6.9.5 lib/rails_connector/html_string.rb
infopark_rails_connector-6.9.4 lib/rails_connector/html_string.rb
infopark_rails_connector-6.9.3.1.36404185 lib/rails_connector/html_string.rb
infopark_rails_connector-6.9.2.1.125136549 lib/rails_connector/html_string.rb
infopark_rails_connector-6.9.1.3.22208381 lib/rails_connector/html_string.rb
infopark_rails_connector-6.9.0.3.197272233 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.3.174.51542603 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.3.115.227021242 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.3.73.75172665 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.3.2.153416031 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.3.67.110847540 lib/rails_connector/html_string.rb
infopark_rails_connector-6.8.3.1.23895778 lib/rails_connector/html_string.rb