Class: Bignum

Inherits:
Object
  • Object
show all
Defined in:
lib/origami/object.rb

Overview

File

object.rb

Info

Origami is free software: you can redistribute it and/or modify

it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Origami is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Origami.  If not, see <http://www.gnu.org/licenses/>.

Direct Known Subclasses

Origami::Integer

Instance Method Summary collapse

Instance Method Details

#to_oObject

:nodoc:



23
24
25
# File 'lib/origami/object.rb', line 23

def to_o
  Origami::Integer.new(self)
end