roman.rb

Path: lib/core/facets/roman.rb
Last Update: Sat Feb 23 07:11:38 +0000 2019

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]