Method: Tb::Cmd::SVNLOGListener#text

Defined in:
lib/tb/cmd_svn.rb

#text(text) ⇒ Object



76
77
78
79
80
81
82
83
84
85
86
87
# File 'lib/tb/cmd_svn.rb', line 76

def text(text)
  case @elt_stack
  when %w[log logentry author]
    @log['author'] = text
  when %w[log logentry date]
    @log['date'] = text
  when %w[log logentry paths path]
    @log['paths'].last['path'] = text
  when %w[log logentry msg]
    @log['msg'] = text
  end
end