Sha256: 0e9dfd58428115bd5025845c525359960211f1ffc6dab9ab37de0bc7e0346536

Contents?: true

Size: 496 Bytes

Versions: 2

Compression:

Stored size: 496 Bytes

Contents

module Shomen

  module Model

    require 'shomen/model/abstract'

    #
    class Constant < Abstract
      #
      def self.type; 'constant'; end

      # Constant's basename, must start with a capitalized letter.
      attr_accessor :name

      #
      attr_accessor :namespace

      #
      attr_accessor :comment

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

      #
      attr_accessor :value

      #
      attr_accessor :files

    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

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