Method: AuthlogicOpenid::Version#to_i
- Defined in:
- lib/authlogic_openid/version.rb
#to_i ⇒ Object
Converts this version to a canonical integer that may be compared against other version objects.
34 35 36 |
# File 'lib/authlogic_openid/version.rb', line 34 def to_i @to_i ||= @major * 1_000_000 + @minor * 1_000 + @tiny end |