Skip to content
  • Aaron Patterson's avatar
    d7b9eeaa
    Feature detect based on Ruby version. · d7b9eeaa
    Aaron Patterson authored
    I didn't want to do this, FNM_EXTGLOB is defined on 2.1.x, but Dir.glob
    returns the wrong value on Ruby less than 2.2.0.  Checking for a
    case-insensitive FS seems too hard, so just check Ruby version  Checking
    for a case-insensitive FS seems too hard, so just check Ruby version.
    d7b9eeaa
    Feature detect based on Ruby version.
    Aaron Patterson authored
    I didn't want to do this, FNM_EXTGLOB is defined on 2.1.x, but Dir.glob
    returns the wrong value on Ruby less than 2.2.0.  Checking for a
    case-insensitive FS seems too hard, so just check Ruby version  Checking
    for a case-insensitive FS seems too hard, so just check Ruby version.
Loading