Class: Openwsman::EndPointReference
- Inherits:
-
Object
- Object
- Openwsman::EndPointReference
- Defined in:
- lib/openwsman/openwsman.rb
Overview
EndPointReference
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args) ⇒ Object
:nodoc:
104 105 106 |
# File 'lib/openwsman/openwsman.rb', line 104 def method_missing name, *args # :nodoc: selector(name.to_s) end |
Instance Method Details
#to_s ⇒ Object
107 108 109 110 111 112 113 114 115 116 |
# File 'lib/openwsman/openwsman.rb', line 107 def to_s s = "#{classname}" first = true self.each do |k,v| s << ((first)?"?":"&") first = false s << "#{k}=#{v.inspect}" end s end |