Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Jan 8, 2014
2 parents 64ce155 + 8e0c049 commit 5054035
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions lib/sass/util.rb
Expand Up @@ -537,15 +537,10 @@ def jruby?
@jruby = RUBY_PLATFORM =~ /java/
end

# @see #jruby_version-class_method
def jruby_version
Sass::Util.jruby_version
end

# Returns an array of ints representing the JRuby version number.
#
# @return [Array<Fixnum>]
def self.jruby_version
def jruby_version
@jruby_version ||= ::JRUBY_VERSION.split(".").map {|s| s.to_i}
end

Expand Down Expand Up @@ -1129,7 +1124,7 @@ def lcs_backtrace(c, x, y, i, j, &block)
lcs_backtrace(c, x, y, i - 1, j, &block)
end

(Sass::Util.methods - Module.methods).each {|method| module_function method}
singleton_methods.each {|method| module_function method}
end
end

Expand Down

0 comments on commit 5054035

Please sign in to comment.