class Svnx::Log::Entries

Public Instance Methods

create_entry(xmlelement) click to toggle source
# File lib/svnx/log/entries.rb, line 13
def create_entry xmlelement
  Entry.new xmlelement
end
get_elements(doc) click to toggle source
# File lib/svnx/log/entries.rb, line 9
def get_elements doc
  doc.xpath '//log/logentry'
end
match(action, filter) click to toggle source
# File lib/svnx/log/entries.rb, line 17
def match action, filter
  Array.new.tap do |a|
    each do |entry|
      a.concat entry.match(action, filter)
    end
  end.sort
end