Class: Qt::Url
Class Method Summary (collapse)
Instance Method Summary (collapse)
Class Method Details
+ (Object) _load(str)
451 452 453 |
# File 'lib/ruber/qt_sugar.rb', line 451 def self._load str self.new str end |
+ (Object) yaml_new(cls, tag, val)
437 438 439 |
# File 'lib/ruber/qt_sugar.rb', line 437 def self.yaml_new cls, tag, val Qt::Url.new val end |
Instance Method Details
- (Object) _dump(_)
447 448 449 |
# File 'lib/ruber/qt_sugar.rb', line 447 def _dump _ to_string end |
- (Object) to_yaml(opts = {})
441 442 443 444 445 |
# File 'lib/ruber/qt_sugar.rb', line 441 def to_yaml opts = {} YAML.quick_emit(self, opts) do |out| out.scalar taguri, to_string, :plain end end |