Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
Use String#start_with?.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Jul 16, 2012
1 parent 04dc8ca commit ca3e77b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rprogram/system.rb
Expand Up @@ -68,7 +68,7 @@ def self.windows?
# @since 0.3.0
#
def self.ruby_1_8?
RUBY_VERSION[0,4] == '1.8.'
RUBY_VERSION.start_with?('1.8.')
end

#
Expand Down

0 comments on commit ca3e77b

Please sign in to comment.