@@ -3654,52 +3654,12 @@ Init_Dir(void)
3654
3654
3655
3655
rb_define_singleton_method (rb_cFile ,"fnmatch" , file_s_fnmatch , -1 );
3656
3656
rb_define_singleton_method (rb_cFile ,"fnmatch?" , file_s_fnmatch , -1 );
3657
-
3658
- /* Document-const: File::Constants::FNM_NOESCAPE
3659
- *
3660
- * Disables escapes in File.fnmatch and Dir.glob patterns
3661
- */
3662
3657
rb_file_const ("FNM_NOESCAPE" , INT2FIX (FNM_NOESCAPE ));
3663
-
3664
- /* Document-const: File::Constants::FNM_PATHNAME
3665
- *
3666
- * Wildcards in File.fnmatch and Dir.glob patterns do not match directory
3667
- * separators
3668
- */
3669
3658
rb_file_const ("FNM_PATHNAME" , INT2FIX (FNM_PATHNAME ));
3670
-
3671
- /* Document-const: File::Constants::FNM_DOTMATCH
3672
- *
3673
- * The '*' wildcard matches filenames starting with "." in File.fnmatch
3674
- * and Dir.glob patterns
3675
- */
3676
3659
rb_file_const ("FNM_DOTMATCH" , INT2FIX (FNM_DOTMATCH ));
3677
-
3678
- /* Document-const: File::Constants::FNM_CASEFOLD
3679
- *
3680
- * Makes File.fnmatch patterns case insensitive (but not Dir.glob
3681
- * patterns).
3682
- */
3683
3660
rb_file_const ("FNM_CASEFOLD" , INT2FIX (FNM_CASEFOLD ));
3684
-
3685
- /* Document-const: File::Constants::FNM_EXTGLOB
3686
- *
3687
- * Allows file globbing through "{a,b}" in File.fnmatch patterns.
3688
- */
3689
3661
rb_file_const ("FNM_EXTGLOB" , INT2FIX (FNM_EXTGLOB ));
3690
-
3691
- /* Document-const: File::Constants::FNM_SYSCASE
3692
- *
3693
- * System default case insensitiveness, equals to FNM_CASEFOLD or
3694
- * 0.
3695
- */
3696
3662
rb_file_const ("FNM_SYSCASE" , INT2FIX (FNM_SYSCASE ));
3697
-
3698
- /* Document-const: File::Constants::FNM_SHORTNAME
3699
- *
3700
- * Makes patterns to match short names if existing. Valid only
3701
- * on Microsoft Windows.
3702
- */
3703
3663
rb_file_const ("FNM_SHORTNAME" , INT2FIX (FNM_SHORTNAME ));
3704
3664
}
3705
3665
0 commit comments