Skip to content

Commit

Permalink
remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
olbrich committed Jan 31, 2012
1 parent b5ee167 commit a1b3155
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/ruby_units/unit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -427,10 +427,6 @@ def to_unit
# @return [Boolean]
def is_base?
return @is_base if defined? @is_base
# return @is_base = true if self.degree? &&
# self.numerator.size == 1 &&
# self.denominator == UNITY_ARRAY &&
# self.units =~ /(?:deg|temp)K/
@is_base = (@numerator + @denominator).compact.uniq.
map {|unit| Unit.definition(unit)}.
all? {|element| element.unity? || element.base? }
Expand Down

0 comments on commit a1b3155

Please sign in to comment.