def ruby_object_constructor(loader, suffix, node):
    """YAML constructor for Ruby objects.

    This constructor may be registered with '!ruby/object:' tag as multi
    constructor supporting Ruby objects. This will handle give objects as maps,
    so any non mapping based object may produce some issue.
    """
    return loader.construct_yaml_map(node)
