Sha256: 98cd0e6790029f66300e32d0d166bf988da7fb91b5a66038b2a04b5d2bc2481f

Contents?: true

Size: 511 Bytes

Versions: 1

Compression:

Stored size: 511 Bytes

Contents

require "rubygems"
begin
  require "rdiscount"
rescue LoadError
  require "kramdown"
end
require "cgi"
require "tempfile"

module Murdoc
  class Paragraph
    attr_accessor :source
    attr_accessor :annotation
    attr_accessor :source_type
    attr_accessor :starting_line

    def initialize(source, annotation, starting_line = 0, source_type = nil)
      self.source = source
      self.annotation = annotation
      self.starting_line = starting_line
      self.source_type = source_type
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
murdoc-0.2.0 lib/murdoc/paragraph.rb