Sha256: e19f6572c54802d1c4bf2841fbd12283fd463bb3ed914574e8eaf14e40351e27
Contents?: true
Size: 433 Bytes
Versions: 14
Compression:
Stored size: 433 Bytes
Contents
module Expressir module Model module Statements class If < ModelElement attr_accessor :expression attr_accessor :statements attr_accessor :else_statements def initialize(options = {}) @expression = options[:expression] @statements = options.fetch(:statements, []) @else_statements = options.fetch(:else_statements, []) end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems