Method: Qt::Size#to_yaml
- Defined in:
- lib/ruber/qt_sugar.rb
#to_yaml(opts = {}) ⇒ Object
152 153 154 155 156 157 158 159 |
# File 'lib/ruber/qt_sugar.rb', line 152 def to_yaml opts = {} YAML.quick_emit(self, opts) do |out| out.map(taguri, to_yaml_style) do |map| map.add 'width', width map.add 'height', height end end end |