Sha256: 9acfb9e7d9d9e0cd2ab2bd64a49b7d4dd14d08506f21c64daa877c2423d85f13

Contents?: true

Size: 607 Bytes

Versions: 25

Compression:

Stored size: 607 Bytes

Contents

module Expressir
  module Model
    class Attribute
      include Identifier

      EXPLICIT = :EXPLICIT
      DERIVED = :DERIVED
      INVERSE = :INVERSE

      attr_accessor :kind
      attr_accessor :supertype_attribute
      attr_accessor :optional
      attr_accessor :type
      attr_accessor :expression

      def initialize(options = {})
        @id = options[:id]

        @kind = options[:kind]
        @supertype_attribute = options[:supertype_attribute]
        @optional = options[:optional]
        @type = options[:type]
        @expression = options[:expression]
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
expressir-0.2.9 lib/expressir/model/attribute.rb
expressir-0.2.9-x86_64-linux lib/expressir/model/attribute.rb
expressir-0.2.9-x86_64-darwin lib/expressir/model/attribute.rb
expressir-0.2.9-x86-mingw32 lib/expressir/model/attribute.rb
expressir-0.2.9-x86-linux lib/expressir/model/attribute.rb
expressir-0.2.9-x64-mingw32 lib/expressir/model/attribute.rb
expressir-0.2.9-arm64-darwin lib/expressir/model/attribute.rb
expressir-0.2.8 lib/expressir/model/attribute.rb
expressir-0.2.8-x86_64-linux lib/expressir/model/attribute.rb
expressir-0.2.8-x86_64-darwin lib/expressir/model/attribute.rb
expressir-0.2.8-x86-mingw32 lib/expressir/model/attribute.rb
expressir-0.2.8-x86-linux lib/expressir/model/attribute.rb
expressir-0.2.8-x64-mingw32 lib/expressir/model/attribute.rb
expressir-0.2.8-arm64-darwin lib/expressir/model/attribute.rb
expressir-0.2.7 lib/expressir/model/attribute.rb
expressir-0.2.7-x86-mingw32 lib/expressir/model/attribute.rb
expressir-0.2.7-x64-mingw32 lib/expressir/model/attribute.rb
expressir-0.2.7-x86_64-linux lib/expressir/model/attribute.rb
expressir-0.2.7-x86-linux lib/expressir/model/attribute.rb
expressir-0.2.7-x86_64-darwin lib/expressir/model/attribute.rb