Sha256: 4527ba4a3cc7fd8e55b1f3ac8e63200aacafd71e3f88960d266ebbfac7b4c0f1

Contents?: true

Size: 425 Bytes

Versions: 60

Compression:

Stored size: 425 Bytes

Contents

#!/usr/bin/perl
use strict;


foreach my $f ('atime', 'blockdev?', 'chardev?', 'ctime', 'directory?',
  'executable?', 'executable_real?', 'file?', 'ftype', 'grpowned?',
  'mtime', 'owned?', 'pipe?', 'readable?', 'readable_real?', 'setuid?',
  'setgid?', 'size', 'socket?', 'sticky?', 'symlink?', 'writeable?',
  'writeable_real?', 'zero?') {

	my $t = "\t";
	print "${t}def File.$f(name)\n\t${t}stat(name).$f\n${t}end\n";
}

Version data entries

60 entries across 60 versions & 3 rubygems

Version Path
rex-2.0.13 lib/rex/post/gen.pl
rex-2.0.12 lib/rex/post/gen.pl
rex-2.0.11 lib/rex/post/gen.pl
rex-2.0.10 lib/rex/post/gen.pl
rex-2.0.9 lib/rex/post/gen.pl
rex-2.0.8 lib/rex/post/gen.pl
rex-2.0.7 lib/rex/post/gen.pl
rex-2.0.5 lib/rex/post/gen.pl
rex-2.0.4 lib/rex/post/gen.pl
dstruct-0.0.1 lib/rex/post/gen.pl
rex-2.0.3 lib/rex/post/gen.pl
librex-0.0.999 lib/rex/post/gen.pl
rex-2.0.2 lib/rex/post/gen.pl
librex-0.0.71 lib/rex/post/gen.pl
librex-0.0.70 lib/rex/post/gen.pl
librex-0.0.68 lib/rex/post/gen.pl
librex-0.0.66 lib/rex/post/gen.pl
librex-0.0.65 lib/rex/post/gen.pl
librex-0.0.63 lib/rex/post/gen.pl
librex-0.0.54 lib/rex/post/gen.pl