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.53 lib/rex/post/gen.pl
librex-0.0.52 lib/rex/post/gen.pl
librex-0.0.51 lib/rex/post/gen.pl
librex-0.0.50 lib/rex/post/gen.pl
librex-0.0.49 lib/rex/post/gen.pl
librex-0.0.48 lib/rex/post/gen.pl
librex-0.0.47 lib/rex/post/gen.pl
librex-0.0.46 lib/rex/post/gen.pl
librex-0.0.44 lib/rex/post/gen.pl
librex-0.0.43 lib/rex/post/gen.pl
librex-0.0.42 lib/rex/post/gen.pl
librex-0.0.41 lib/rex/post/gen.pl
librex-0.0.40 lib/rex/post/gen.pl
librex-0.0.39 lib/rex/post/gen.pl
librex-0.0.38 lib/rex/post/gen.pl
librex-0.0.37 lib/rex/post/gen.pl
librex-0.0.36 lib/rex/post/gen.pl
librex-0.0.35 lib/rex/post/gen.pl
librex-0.0.34 lib/rex/post/gen.pl
librex-0.0.33 lib/rex/post/gen.pl