Sha256: 2c01b9b7e10dfe896fc35e05a20555b4b00c94776dcbe5d7afad5ee28c2dec8b

Contents?: true

Size: 460 Bytes

Versions: 14

Compression:

Stored size: 460 Bytes

Contents

module Expressir
  module Model
    module Statements
      class If < ModelElement
        model_attr_accessor :expression
        model_attr_accessor :statements
        model_attr_accessor :else_statements

        def initialize(options = {})
          @expression = options[:expression]
          @statements = options[:statements] || []
          @else_statements = options[:else_statements] || []

          super
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
expressir-1.0.0 lib/expressir/model/statements/if.rb
expressir-1.0.0-x86_64-linux lib/expressir/model/statements/if.rb
expressir-1.0.0-x86_64-darwin lib/expressir/model/statements/if.rb
expressir-1.0.0-x86-mingw32 lib/expressir/model/statements/if.rb
expressir-1.0.0-x86-linux lib/expressir/model/statements/if.rb
expressir-1.0.0-x64-mingw32 lib/expressir/model/statements/if.rb
expressir-1.0.0-arm64-darwin lib/expressir/model/statements/if.rb
expressir-0.2.27 lib/expressir/model/statements/if.rb
expressir-0.2.27-x86_64-linux lib/expressir/model/statements/if.rb
expressir-0.2.27-x86_64-darwin lib/expressir/model/statements/if.rb
expressir-0.2.27-x86-mingw32 lib/expressir/model/statements/if.rb
expressir-0.2.27-x86-linux lib/expressir/model/statements/if.rb
expressir-0.2.27-x64-mingw32 lib/expressir/model/statements/if.rb
expressir-0.2.27-arm64-darwin lib/expressir/model/statements/if.rb