Data.new dosnt work

M

maillist

Hi,

How do I create an instance of the Data class. I am using ruby
1.8.0-preview3

I get the following error:

irb(main):009:0> Data.new
NoMethodError: allocator undefined for Data
from (irb):9:in `new'
from (irb):9
irb(main):010:0> Data.new()
NoMethodError: allocator undefined for Data
from (irb):10:in `new'
from (irb):10
irb(main):011:0> Object.new
=> #<Object:0x401aa3b8>
 
N

nobu.nokada

Hi,

At Fri, 25 Jul 2003 16:16:17 +0900,
How do I create an instance of the Data class. I am using ruby
1.8.0-preview3

Data is the abstract class for extension libraries. You can
never instantiate it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,019
Latest member
RoxannaSta

Latest Threads

Top