Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions lib/rexml/functions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,6 @@ def Functions::variables ; @@variables ; end

def Functions::context=(value); @@context = value; end

def Functions::text( )
if @@context[:node].node_type == :element
@@context[:node].find_all{|n| n.node_type == :text}.collect{|n| n.value}
elsif @@context[:node].node_type == :text
@@context[:node].value
else
false
end
end

# Returns the last node of the given list of nodes.
def Functions::last( )
@@context[:size]
Comment on lines 38 to 42
Expand Down
Loading