Sha256: 3087be1425cdc4c39dfc648328006d7b146ddcdad901febf7b716e5f5e7f7845

Contents?: true

Size: 662 Bytes

Versions: 1

Compression:

Stored size: 662 Bytes

Contents

module Expressir
  module Model
    class Attribute
      EXPLICIT = :EXPLICIT
      DERIVED = :DERIVED
      INVERSE = :INVERSE

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

      attr_accessor :parent
      attr_accessor :remarks

      def initialize(options = {})
        @kind = options[:kind]
        @supertype_attribute = options[:supertype_attribute]
        @id = options[:id]
        @optional = options[:optional]
        @type = options[:type]
        @expression = options[:expression]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
expressir-0.2.3 lib/expressir/model/attribute.rb