Sha256: 9669406598be73d305f6e9c5ab3f758c32272bcdc1b741f7a22017be13cc6976

Contents?: true

Size: 509 Bytes

Versions: 2

Compression:

Stored size: 509 Bytes

Contents

module Shomen

  module Model

    require 'shomen/model/abstract'

    #
    class Document < Abstract
      #
      def self.type
        'document'
      end

      #def key=(path)
      #  path = '/' + path unless path[0,1] == '/'
      #  super(path)
      #end

      attr_accessor :name

      #attr_accessor :parent

      attr_accessor :path

      attr_accessor :mtime

      attr_accessor :text

      # Format of comment (rdoc, markdown or plain).
      attr_accessor :format

    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
shomen-0.1.1 lib/shomen/model/document.rb
shomen-0.1.0 lib/shomen/model/document.rb