Class: Qt::Font
Class Method Summary (collapse)
Instance Method Summary (collapse)
Class Method Details
+ (Object) _load(str)
386 387 388 389 390 |
# File 'lib/ruber/qt_sugar.rb', line 386 def self._load str res = Qt::Font.new res.from_string str res end |
+ (Object) yaml_new(cls, tag, val)
370 371 372 373 374 |
# File 'lib/ruber/qt_sugar.rb', line 370 def self.yaml_new cls, tag, val res = Qt::Font.new res.from_string val res end |
Instance Method Details
- (Object) _dump(_)
382 383 384 |
# File 'lib/ruber/qt_sugar.rb', line 382 def _dump _ to_string end |
- (Object) to_yaml(opts = {})
376 377 378 379 380 |
# File 'lib/ruber/qt_sugar.rb', line 376 def to_yaml opts = {} YAML.quick_emit(self, opts) do |out| out.scalar taguri, to_string, :plain end end |