Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fixing a typo in FileUtils#ln_sf documentation #155

Closed
wants to merge 1 commit into from

3 participants

Simon Courtois Don't Add Me To Your Organization a.k.a The Travis Bot Ayumu AIZAWA
Simon Courtois

The FileUtils#ln_sf documentation indicates that calling it is the same as calling ln_s(src, dest, :force) which is wrong.

This commit fixes it by replacing :force with :force => true.

Simon Courtois simonc Fixing a typo in FileUtils#ln_sf documentation
The `FileUtils#ln_sf` documentation indicates that calling it is the same as calling `ln_s(src, dest, :force)` which is wrong.

This commit fixes it by replacing `:force` with `:force => true`.
e8e697d
Don't Add Me To Your Organization a.k.a The Travis Bot

This pull request passes (merged e8e697d into 00468f2).

Ayumu AIZAWA ayumin was assigned
Ayumu AIZAWA
Collaborator

Merged by 6eb3167 Thanks.

Ayumu AIZAWA ayumin closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 11, 2012
  1. Simon Courtois

    Fixing a typo in FileUtils#ln_sf documentation

    simonc authored
    The `FileUtils#ln_sf` documentation indicates that calling it is the same as calling `ln_s(src, dest, :force)` which is wrong.
    
    This commit fixes it by replacing `:force` with `:force => true`.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 1  lib/fileutils.rb
2  lib/fileutils.rb
View
@@ -435,7 +435,7 @@ def ln_s(src, dest, options = {})
# Options: noop verbose
#
# Same as
- # #ln_s(src, dest, :force)
+ # #ln_s(src, dest, :force => true)
#
def ln_sf(src, dest, options = {})
fu_check_options options, OPT_TABLE['ln_sf']
Something went wrong with that request. Please try again.