class REXML::Element
def instructions
is.map {|i| i.to_s } # => ["", ""]
is.map {|i| i.class } # => [REXML::Instruction, REXML::Instruction]
is.frozen? # => true
is = d.root.instructions
d = REXML::Document.new(xml_string)
EOT
xml_string = <<-EOT
Returns a frozen array of the REXML::Instruction children of the element:
instructions -> array_of_instruction_children
:call-seq:
def instructions find_all { |child| child.kind_of? Instruction }.freeze end