Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/roman_numbers.rb
Overview
opening String class to add from_roman_to_integer method
Instance Method Summary collapse
Instance Method Details
#from_roman_to_integer ⇒ Object
18 19 20 |
# File 'lib/roman_numbers.rb', line 18 def from_roman_to_integer RomanNumbers::RomanNumber.new(self).convert_roman_to_decimal end |