Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

'pt' is ambiguous and can represent either a point or a pint.

Fixes #35
  • Loading branch information...
commit 8a103e4979b5ba0f09501c0b805210d55b521446 1 parent 431dcab
@olbrich olbrich authored
Showing with 4 additions and 2 deletions.
  1. +2 −0  CHANGELOG.txt
  2. +2 −2 lib/ruby_units/unit_definitions/standard.rb
View
2  CHANGELOG.txt
@@ -1,5 +1,7 @@
Change Log for Ruby-units
=========================
+2012-02-01 * Fix issue #34 -- Time.at takes more than one parameter
+ * Fix issue #35 -- 'pt' is ambiguous
2012-01-02 1.4.0 * Fix some definitions that were just wrong (amu, dalton)
* Definition uses name of unit if no aliases provided
* Refactor definition process. New units are immediately available
View
4 lib/ruby_units/unit_definitions/standard.rb
@@ -71,11 +71,11 @@
Unit.define('point') do |point|
point.definition = Unit('1/72 ft')
- point.aliases = %w{pt point points}
+ point.aliases = %w{point points}
end
Unit.define('pica') do |pica|
- pica.definition = Unit('12 pt')
+ pica.definition = Unit('12 point')
pica.aliases = %w{P pica picas}
end
Please sign in to comment.
Something went wrong with that request. Please try again.