Skip to content

Commit

Permalink
fix typo in Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 9, 2017
1 parent 8ae77ed commit 46b7cda
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Changes
Expand Up @@ -9,8 +9,10 @@
favor of new features inherited from the Mojo::File base class.
- Added module Mojo::File.
- Improved Mojo::Home to be a subclass of Mojo::File.
- Improved rel_file methods in Mojo::Home and Mojolicious::Command to return
Mojo::File objects.
- Improved mojo_lib_dir and rel_file methods in Mojo::Home to return
Mojo::Home objects.
- Improved rel_file methods in Mojolicious::Command to return Mojo::File
objects.

7.14 2017-01-04
- Deprecated Mojo::Home::list_files in favor of Mojo::Util::files.
Expand Down
6 changes: 6 additions & 0 deletions lib/Mojo/File.pm
Expand Up @@ -169,6 +169,9 @@ individually.
Construct a new scalar-based L<Mojo::File> object, defaults to using the current
working directory.
# "foo/bar/baz.txt" (on UNIX)
path('foo', 'bar', 'baz.txt');
=head2 tempdir
my $path = tempdir;
Expand Down Expand Up @@ -302,6 +305,9 @@ Move the file.
Construct a new L<Mojo::File> object, defaults to using the current working
directory.
# "foo/bar/baz.txt" (on UNIX)
Mojo::File->new('foo', 'bar', 'baz.txt');
=head2 slurp
my $bytes = $path->slurp;
Expand Down

0 comments on commit 46b7cda

Please sign in to comment.