• Toon Claes's avatar
    Make level_value accept string integers · 71306f14
    Toon Claes authored
    When a VisibilityLevel is an integer formatted as a string, convert it
    to an integer, instead of looking it up in the hash map.
    
    When the value is not recognized, default to PRIVATE.
    71306f14
visibility_level.rb 3.12 KB