Sha256: 9267e343f46f2262129afa613e7b6ae6adcca7c97d712beee6ee58b419f8171a

Contents?: true

Size: 417 Bytes

Versions: 11

Compression:

Stored size: 417 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

11 entries across 11 versions & 1 rubygems

Version Path
infopark_fiona_connector-7.0.1.6.1.6.rc4 lib/rails_connector/markdown_string.rb
infopark_fiona_connector-7.0.1.6.1.6.rc3 lib/rails_connector/markdown_string.rb
infopark_fiona_connector-7.0.1.6.1.6.rc2 lib/rails_connector/markdown_string.rb
infopark_fiona_connector-7.0.1.6.1.6.rc1 lib/rails_connector/markdown_string.rb
infopark_fiona_connector-7.0.1.5.2.7.rc1 lib/rails_connector/markdown_string.rb
infopark_fiona_connector-7.0.1.5.2.4.rc2 lib/rails_connector/markdown_string.rb
infopark_fiona_connector-7.0.1.5.2.4.rc1 lib/rails_connector/markdown_string.rb
infopark_fiona_connector-7.0.1.5.2.3.rc8 lib/rails_connector/markdown_string.rb
infopark_fiona_connector-7.0.1.5.2.3.rc7 lib/rails_connector/markdown_string.rb
infopark_fiona_connector-7.0.1.5.2.3.rc6 lib/rails_connector/markdown_string.rb
infopark_fiona_connector-7.0.1.5.2.3.rc5 lib/rails_connector/markdown_string.rb