Grzegorz Bizon
304c39b6dc
Fix rubocop offenses in StringPath specs
2016-01-14 12:48:13 +01:00
Grzegorz Bizon
b19e958d86
Add support for parent directories in StringPath
...
This support is not completed though, as parent directory that is first
in collection returned by `directories!` is not iterable yet.
2016-01-14 12:48:13 +01:00
Grzegorz Bizon
37b2c5dd55
Add support for root path for StringPath
2016-01-14 12:48:13 +01:00
Grzegorz Bizon
d382335dcd
Add implementation of remaining methods in StringPath
2016-01-14 12:48:13 +01:00
Grzegorz Bizon
c184eeb848
Improve StringPath specs (DRY)
2016-01-14 12:48:13 +01:00
Grzegorz Bizon
518b206287
Add parent iteration implementation to StringPath
2016-01-14 12:48:13 +01:00
Grzegorz Bizon
73d2c7a553
Add new methods to StringPath
2016-01-14 12:48:12 +01:00
Grzegorz Bizon
f5d5308658
Add implementation of StringPath class
...
`StringPath` class is something similar to Ruby's `Pathname` class,
but does not involve any IO operations. `StringPath` objects require
passing string representation of path, and array of paths that
represents universe to constructor to be intantiated.
2016-01-14 12:48:12 +01:00