Sha256: 12c201fb82be43bd0ba84d9a7e68eda0c5fcadbc76e74fc45b236d128045cf7e

Contents?: true

Size: 397 Bytes

Versions: 14

Compression:

Stored size: 397 Bytes

Contents

module Expressir
  module Model
    class Constant < ModelElement
      include Identifier

      attr_accessor :type
      attr_accessor :expression

      def initialize(options = {})
        @id = options[:id]
        @remarks = options.fetch(:remarks, [])
        @source = options[:source]

        @type = options[:type]
        @expression = options[:expression]
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
expressir-0.2.11 lib/expressir/model/constant.rb
expressir-0.2.11-x86_64-linux lib/expressir/model/constant.rb
expressir-0.2.11-x86_64-darwin lib/expressir/model/constant.rb
expressir-0.2.11-x86-mingw32 lib/expressir/model/constant.rb
expressir-0.2.11-x86-linux lib/expressir/model/constant.rb
expressir-0.2.11-x64-mingw32 lib/expressir/model/constant.rb
expressir-0.2.11-arm64-darwin lib/expressir/model/constant.rb
expressir-0.2.10 lib/expressir/model/constant.rb
expressir-0.2.10-x86_64-linux lib/expressir/model/constant.rb
expressir-0.2.10-x86_64-darwin lib/expressir/model/constant.rb
expressir-0.2.10-x86-mingw32 lib/expressir/model/constant.rb
expressir-0.2.10-x86-linux lib/expressir/model/constant.rb
expressir-0.2.10-x64-mingw32 lib/expressir/model/constant.rb
expressir-0.2.10-arm64-darwin lib/expressir/model/constant.rb