Method: Weblate::ScreenshotFile#list_invalid_properties
- Defined in:
- lib/weblate/models/screenshot_file.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
69 70 71 72 73 74 75 76 77 |
# File 'lib/weblate/models/screenshot_file.rb', line 69 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new if @image.nil? invalid_properties.push('invalid value for "image", image cannot be nil.') end invalid_properties end |