Module: MoreMath::StringNumeral::Functions
- Defined in:
- lib/more_math/string_numeral.rb
Instance Method Summary collapse
- #StringNumeral(other, alphabet = 'a'..'z') ⇒ Object
- #to_string_numeral(alphabet = 'a'..'z') ⇒ Object
Instance Method Details
#StringNumeral(other, alphabet = 'a'..'z') ⇒ Object
153 154 155 |
# File 'lib/more_math/string_numeral.rb', line 153 def StringNumeral(other, alphabet = 'a'..'z') ::MoreMath::StringNumeral.from(other, alphabet) end |
#to_string_numeral(alphabet = 'a'..'z') ⇒ Object
157 158 159 |
# File 'lib/more_math/string_numeral.rb', line 157 def to_string_numeral(alphabet = 'a'..'z') StringNumeral(self, alphabet) end |