Skip to content

Commit

Permalink
returning true is only necessary if the caller expects that exact v…
Browse files Browse the repository at this point in the history
…alue. usually people test for "truthy" objects
  • Loading branch information
tenderlove committed Dec 28, 2010
1 parent f75bb72 commit 1aacb77
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/to_lang.rb
Expand Up @@ -24,7 +24,6 @@ def start(key)
return false if defined?(@connector) && !@connector.nil? return false if defined?(@connector) && !@connector.nil?
@connector = ToLang::Connector.new(key) @connector = ToLang::Connector.new(key)
String.send(:include, StringMethods) String.send(:include, StringMethods)
true
end end
end end
end end

0 comments on commit 1aacb77

Please sign in to comment.