Sha256: 1dd6d3915d3bafcd16d9dfdb1180759bbc93eee17a926ea57f2bd7f2be016ed4
Contents?: true
Size: 809 Bytes
Versions: 171
Compression:
Stored size: 809 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
171 entries across 171 versions & 1 rubygems