Method: MTP::Properties#set_value
- Defined in:
- lib/mtp/properties.rb
#set_value(code, value) ⇒ Object
33 34 35 36 37 |
# File 'lib/mtp/properties.rb', line 33 def set_value(code, value) code = Property.code(code) raise UnsupportedProperty.new(self, code) unless supports?(code) Property.set(@object, code, value) end |