Sha256: 9ed72d5c86af11765d15511d650a7b1522885238750dd479a827476951ebf4ed

Contents?: true

Size: 419 Bytes

Versions: 32

Compression:

Stored size: 419 Bytes

Contents

module RailsConnector

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

end

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

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
infopark_fiona_connector-7.0.1.5.2.3.rc4 lib/rails_connector/markdown_string.rb
infopark_fiona_connector-7.0.1 lib/rails_connector/markdown_string.rb
infopark_fiona_connector-7.0.1.beta2 lib/rails_connector/markdown_string.rb
infopark_fiona_connector-7.0.0 lib/rails_connector/markdown_string.rb
infopark_fiona_connector-6.10.0.beta1 lib/rails_connector/markdown_string.rb
infopark_rails_connector-6.9.4 lib/rails_connector/markdown_string.rb
infopark_rails_connector-6.9.3.1.36404185 lib/rails_connector/markdown_string.rb
infopark_rails_connector-6.9.2.1.125136549 lib/rails_connector/markdown_string.rb
infopark_rails_connector-6.9.1.3.22208381 lib/rails_connector/markdown_string.rb
infopark_rails_connector-6.9.0.3.197272233 lib/rails_connector/markdown_string.rb
infopark_rails_connector-6.8.3.174.51542603 lib/rails_connector/markdown_string.rb
infopark_rails_connector-6.8.3.115.227021242 lib/rails_connector/markdown_string.rb
infopark_rails_connector-6.8.3.73.75172665 lib/rails_connector/markdown_string.rb
infopark_rails_connector-6.8.3.2.153416031 lib/rails_connector/markdown_string.rb
infopark_rails_connector-6.8.3.67.110847540 lib/rails_connector/markdown_string.rb
infopark_rails_connector-6.8.3.1.23895778 lib/rails_connector/markdown_string.rb
infopark_rails_connector-6.8.2.36.82613853 lib/rails_connector/markdown_string.rb
infopark_rails_connector-6.8.2.7.128454143 lib/rails_connector/markdown_string.rb
infopark_rails_connector-6.8.1.26.236500544 lib/rails_connector/markdown_string.rb
infopark_rails_connector-6.8.1 lib/rails_connector/markdown_string.rb