class Object
Public Class Methods
const_missing(name)
click to toggle source
Calls superclass method
# File lib/romaniac/const.rb, line 28 def self.const_missing(name) if (name = name.to_s) =~ Romaniac::Const::ROMAN_PATTERN Romaniac::Const.define!(name) else super end end
Public Instance Methods
Roman(int)
click to toggle source
# File lib/romaniac.rb, line 3 def Roman(int) Romaniac.new(int) end