roman.rb

Path: lib/core/facets/roman.rb
Last Update: Wed Mar 14 21:19:17 +0000 2012

Methods

roman   roman?  

Public Instance methods

Considers string a Roman numeral numeral, and converts it to the corresponding integer.

NOTE: This method is not a common core extension and is not loaded automatically when using require ‘facets‘.

@uncommon

  require 'facets/string/roman'

Returns true iif the subject is a valid Roman numeral.

NOTE: This method is not a common core extension and is not loaded automatically when using require ‘facets‘.

@uncommon

  require 'facets/string/roman'

[Validate]