• Toon Claes's avatar
    Add #resource_parent to Snippet · 69e73b0f
    Toon Claes authored
    In a future commit we will be calling #resource_parent on an object we
    don't know the exact type of. But all of them respond to that method,
    except for Snippet. With this change we can safely call it without
    getting a NoMethodError.
    69e73b0f
snippet.rb 10.7 KB