Sha256: a872d1c67dfe8e9397e18886d9f98ac5c3dc337d603084466626aebe3f7613ef
Contents?: true
Size: 811 Bytes
Versions: 13
Compression:
Stored size: 811 Bytes
Contents
module Expressir module Model module Declarations # Specified in ISO 10303-11:2004 # - section 9.4 Constant class Constant < Declaration include Identifier model_attr_accessor :type, "DataType" model_attr_accessor :expression, "Expression" # @param [Hash] options # @option (see Identifier#initialize_identifier) # @option options [DataType] :type # @option options [Expression] :expression def initialize(options = {}) initialize_identifier(options) @type = options[:type] @expression = options[:expression] super end # @return [Array<Declaration>] def children [ *remark_items, ] end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems