Permalink
Browse files

returning `true` is only necessary if the caller expects that exact v…

…alue. usually people test for "truthy" objects
  • Loading branch information...
1 parent f75bb72 commit 1aacb779448d9886116a426825dea3049ad1e474 @tenderlove committed Dec 28, 2010
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/to_lang.rb
View
@@ -24,7 +24,6 @@ def start(key)
return false if defined?(@connector) && !@connector.nil?
@connector = ToLang::Connector.new(key)
String.send(:include, StringMethods)
- true
end
end
end

0 comments on commit 1aacb77

Please sign in to comment.