Sha256: 2c0c6e460ec93f986b88d38254b813a17f47d762a91016b6201ab9b25187aba3

Contents?: true

Size: 306 Bytes

Versions: 13

Compression:

Stored size: 306 Bytes

Contents

module GrapeDoc
  class ApiDocParts

    class Link < StringObject

      def initialize(text,url)
        super(text)
        @url = url
      end

      def to_textile
        "\"#{self}\":#{@url}"
      end

    end

    class PictureLink < StringObjectEnded
      self.markdown = '!'
    end

  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
grape-doc-0.6.1 lib/grape/doc/doc_class/link.rb
grape-doc-0.6.0 lib/grape/doc/doc_class/link.rb
grape-doc-0.5.1 lib/grape/doc/doc_class/link.rb
grape-doc-0.5.0 lib/grape/doc/doc_class/link.rb
grape-doc-0.4.3 lib/grape/doc/doc_class/link.rb
grape-doc-0.4.2 lib/grape/doc/doc_class/link.rb
grape-doc-0.4.1 lib/grape/doc/doc_class/link.rb
grape-doc-0.4.0 lib/grape/doc/doc_class/link.rb
grape-doc-0.3.4 lib/grape/doc/doc_class/link.rb
grape-doc-0.3.3 lib/grape/doc/doc_class/link.rb
grape-doc-0.3.0 lib/grape/doc/doc_class/link.rb
grape-doc-0.1.1 lib/grape/doc/doc_class/link.rb
grape-doc-0.1.0 lib/grape/doc/doc_class/link.rb