Sha256: f7fb258497b5c14a4bc7b80f148c3e2957389a110e79be3328ba7bc9e9bb1c93
Contents?: true
Size: 705 Bytes
Versions: 171
Compression:
Stored size: 705 Bytes
Contents
module Expressir module Model module Expressions # Specified in ISO 10303-11:2004 # - section 12.1 Arithmetic operators # - section 12.4.1 NOT operator class UnaryExpression < Expression MINUS = :MINUS NOT = :NOT PLUS = :PLUS model_attr_accessor :operator, ':MINUS, :NOT, :PLUS' model_attr_accessor :operand, 'Expression' # @param [Hash] options # @option options [:MINUS, :NOT, :PLUS] :operator # @option options [Expression] :operand def initialize(options = {}) @operator = options[:operator] @operand = options[:operand] super end end end end end
Version data entries
171 entries across 171 versions & 1 rubygems