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

14 lines
279 B
Ruby

module RKelly
module Nodes
class PropertyNode < Node
attr_accessor :name
def initialize(name, value)
super(value)
@name = name
end
end
%w[Getter Setter].each {|node| eval "class #{node}PropertyNode < PropertyNode; end"}
end
end