Method: Nipper::Evidence#method_missing
- Defined in:
- lib/nipper/evidence.rb
#method_missing(method, *args) ⇒ Object
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/nipper/evidence.rb', line 16 def method_missing(method, *args) unless .include?(method) super return end field = method.to_s.split('_')[1] @xml.at_xpath('./device').attr(field) end |