Module: ContinuedFractions::Numeric
- Defined in:
- lib/continued_fractions/include.rb
Instance Method Summary collapse
Instance Method Details
#to_cf(limit: ContinuedFraction::DEFAULT_LIMIT) ⇒ ContinuedFraction
10 11 12 |
# File 'lib/continued_fractions/include.rb', line 10 def to_cf(limit: ContinuedFraction::DEFAULT_LIMIT) ContinuedFraction.new(self, limit) end |