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
151 152 153 |
# File 'lib/more_math/string_numeral.rb', line 151 def StringNumeral(other, alphabet = 'a'..'z') ::MoreMath::StringNumeral.from(other, alphabet) end |
#to_string_numeral(alphabet = 'a'..'z') ⇒ Object
155 156 157 |
# File 'lib/more_math/string_numeral.rb', line 155 def to_string_numeral(alphabet = 'a'..'z') StringNumeral(self, alphabet) end |