Sha256: faa83f773ae3012b45b0f30be75c1bbd7c9c342455d0684ae556669154990d88

Contents?: true

Size: 395 Bytes

Versions: 1

Compression:

Stored size: 395 Bytes

Contents

module Expressir
  module Model
    module Statements
      class If
        attr_accessor :condition
        attr_accessor :statements
        attr_accessor :else_statements

        def initialize(options = {})
          @condition = options[:condition]
          @statements = options[:statements]
          @else_statements = options[:else_statements]
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
expressir-0.2.0 lib/expressir/model/statements/if.rb