Class: REXML::Element
- Inherits:
-
Object
- Object
- REXML::Element
- Defined in:
- lib/teamcity-rest-client.rb
Instance Method Summary collapse
Instance Method Details
#av(name) ⇒ Object
154 155 156 |
# File 'lib/teamcity-rest-client.rb', line 154 def av name attribute(name).value end |
#av_or(name, otherwise) ⇒ Object
158 159 160 161 |
# File 'lib/teamcity-rest-client.rb', line 158 def av_or name, otherwise att = attribute(name) att ? att.value : otherwise end |