Sha256: 24d522eb8ed639c9e2b2b8761289334c6b28519e2e9dd47e0d654441fc1149d7
Contents?: true
Size: 811 Bytes
Versions: 25
Compression:
Stored size: 811 Bytes
Contents
module Expressir module Model module Statements class Repeat include Scope include Identifier attr_accessor :bound1 attr_accessor :bound2 attr_accessor :increment attr_accessor :while_expression attr_accessor :until_expression attr_accessor :statements def initialize(options = {}) @id = options[:id] @bound1 = options[:bound1] @bound2 = options[:bound2] @increment = options[:increment] @while_expression = options[:while_expression] @until_expression = options[:until_expression] @statements = options[:statements] end def children items = [] items.push(self) items end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems