Module: Knut_tools

Defined in:
lib/knut_tools.rb

Overview

knut_tools/file__END__.rb

File-extensions for Ruby-scripts.

This extensions of the File-class allows to open Files, starting at __END__.

Details see file__END__.rb

knut_tools/catch_output.rb

Defines a function to catch outputs on stdout and stderr.

Details see catch_output.rb

knut_tools/rot13.rb

extend String by pseudo-encryption.

Details see rot13.rb

knut_tools/required_what.rb

A little helper to detect file name conflicts between different gems.

Details see required_what.rb

knut_tools/rake/testtask.rb

The knut_tools extends rake/testtask to run test in directories. This may be necessary, if you have to test, if files are created correct or test data can be find relative to your source.

Details see testtask.rb

knut_tools/yaml.rb

Add yaml-related feature:

  • sorted to_yaml for Hash with :SortKeys => true

  • YAML.load_with_warning warns you about double Hash-keys.

Details see yaml.rb

Constant Summary collapse

VERSION =
'0.1.0'