Sha256: 56b877f594aae05738d30e1c3c9abde7f45c915b04aba484e1cd1983ea6d9575
Contents?: true
Size: 782 Bytes
Versions: 13
Compression:
Stored size: 782 Bytes
Contents
module Expressir module Model module Statements # Specified in ISO 10303-11:2004 # - section 13.4 Case statement class Case < Statement model_attr_accessor :expression, "Expression" model_attr_accessor :actions, "Array<CaseAction>" model_attr_accessor :otherwise_statement, "Statement" # @param [Hash] options # @option options [Expression] :expression # @option options [Array<CaseAction>] :statements # @option options [Statement] :otherwise_statement def initialize(options = {}) @expression = options[:expression] @actions = options[:actions] || [] @otherwise_statement = options[:otherwise_statement] super end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems