Permalink
Browse files

Fix issue with jruby in 1.9 mode where HostOS is not converted to a s…

…tring.

Fixes Issue #45
  • Loading branch information...
1 parent 7a527b5 commit 06b714381e6d083dbfcd5f2771ed35dd3a357826 @copiousfreetime committed Aug 6, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/launchy/detect/host_os.rb
@@ -5,6 +5,7 @@ class HostOs
attr_reader :host_os
alias to_s host_os
+ alias to_str host_os
def initialize( host_os = nil )
@host_os = host_os

0 comments on commit 06b7143

Please sign in to comment.