class REXML::Element

Public Instance Methods

av(name) click to toggle source
# File lib/teamcity-rest-client.rb, line 154
def av name
  attribute(name).value
end
av_or(name, otherwise) click to toggle source
# File lib/teamcity-rest-client.rb, line 158
def av_or name, otherwise
  att = attribute(name) 
  att ? att.value : otherwise
end