Sha256: 281bd4c591c35e29edf1fbe3621538f617f5430e0c0f5fe7a23b89d4d5db0cfd

Contents?: true

Size: 397 Bytes

Versions: 14

Compression:

Stored size: 397 Bytes

Contents

module Expressir
  module Model
    class Variable < 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/variable.rb
expressir-0.2.11-x86_64-linux lib/expressir/model/variable.rb
expressir-0.2.11-x86_64-darwin lib/expressir/model/variable.rb
expressir-0.2.11-x86-mingw32 lib/expressir/model/variable.rb
expressir-0.2.11-x86-linux lib/expressir/model/variable.rb
expressir-0.2.11-x64-mingw32 lib/expressir/model/variable.rb
expressir-0.2.11-arm64-darwin lib/expressir/model/variable.rb
expressir-0.2.10 lib/expressir/model/variable.rb
expressir-0.2.10-x86_64-linux lib/expressir/model/variable.rb
expressir-0.2.10-x86_64-darwin lib/expressir/model/variable.rb
expressir-0.2.10-x86-mingw32 lib/expressir/model/variable.rb
expressir-0.2.10-x86-linux lib/expressir/model/variable.rb
expressir-0.2.10-x64-mingw32 lib/expressir/model/variable.rb
expressir-0.2.10-arm64-darwin lib/expressir/model/variable.rb