From 46b2cbfa3f3d675cfdd71388c95a8762946ea37c Mon Sep 17 00:00:00 2001 From: Joshua Nichols Date: Wed, 31 Mar 2010 23:57:18 -0400 Subject: [PATCH] Renamed symlink action to ln_s. --- lib/homesick.rb | 2 +- lib/homesick/actions.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/homesick.rb b/lib/homesick.rb index 6708370..6ddd317 100644 --- a/lib/homesick.rb +++ b/lib/homesick.rb @@ -44,7 +44,7 @@ class Homesick < Thor inside user_dir do adjusted_path = (user_dir + path).basename - symlink absolute_path, adjusted_path + ln_s absolute_path, adjusted_path end end end diff --git a/lib/homesick/actions.rb b/lib/homesick/actions.rb index 16b2810..2bb3201 100644 --- a/lib/homesick/actions.rb +++ b/lib/homesick/actions.rb @@ -18,7 +18,7 @@ class Homesick end end - def symlink(source, destination, config = {}) + def ln_s(source, destination, config = {}) destination = Pathname.new(destination) if destination.symlink?