Sha256: 029f08e41a268bfeb0e5d77e8421c2b85958c9251671d2bb9b1fa1629ce02909
Contents?: true
Size: 859 Bytes
Versions: 2
Compression:
Stored size: 859 Bytes
Contents
module Expressir module Model module Statements class Repeat attr_accessor :id attr_accessor :bound1 attr_accessor :bound2 attr_accessor :increment attr_accessor :while_expression attr_accessor :until_expression attr_accessor :statements attr_accessor :remarks 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] @remarks = options[:remarks] end def scope_items items = [] items.push(self) items end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
expressir-0.2.2 | lib/expressir/model/statements/repeat.rb |
expressir-0.2.1 | lib/expressir/model/statements/repeat.rb |