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
librex-0.0.32 lib/rex/post/gen.pl
librex-0.0.31 lib/rex/post/gen.pl
librex-0.0.30 lib/rex/post/gen.pl
librex-0.0.29 lib/rex/post/gen.pl
librex-0.0.28 lib/rex/post/gen.pl
librex-0.0.27 lib/rex/post/gen.pl
librex-0.0.26 lib/rex/post/gen.pl
librex-0.0.25 lib/rex/post/gen.pl
librex-0.0.23 lib/rex/post/gen.pl
librex-0.0.21 lib/rex/post/gen.pl
librex-0.0.19 lib/rex/post/gen.pl
librex-0.0.17 lib/rex/post/gen.pl
librex-0.0.13 lib/rex/post/gen.pl
librex-0.0.12 lib/rex/post/gen.pl
librex-0.0.7 lib/rex/post/gen.pl
librex-0.0.6 lib/rex/post/gen.pl
librex-0.0.5 lib/rex/post/gen.pl
librex-0.0.4 lib/rex/post/gen.pl
librex-0.0.3 lib/rex/post/gen.pl
librex-0.0.1 lib/rex/post/gen.pl