metasploit-framework/lib/rkelly/nodes/if_node.rb

13 lines
255 B
Ruby
Raw Normal View History

module RKelly
module Nodes
class IfNode < Node
attr_reader :conditions, :else
def initialize(conditions, value, else_stmt = nil)
super(value)
@conditions = conditions
@else = else_stmt
end
end
end
end