Class: Svnx::Log::Entries
Instance Attribute Summary
#size
Instance Method Summary
collapse
#[], #each, #initialize
Instance Method Details
#create_entry(xmlelement) ⇒ Object
18
19
20
|
# File 'lib/svnx/log/entries.rb', line 18
def create_entry xmlelement
Entry.new xmlelement
end
|
#get_elements(doc) ⇒ Object
14
15
16
|
# File 'lib/svnx/log/entries.rb', line 14
def get_elements doc
doc.elements['log'].elements
end
|
#match(action, filter) ⇒ Object
22
23
24
25
26
27
28
|
# File 'lib/svnx/log/entries.rb', line 22
def match action, filter
Array.new.tap do |a|
each do |entry|
a.concat entry.match(action, filter)
end
end.sort
end
|