On Tue, 28 Jul 2009 18:02:56 +0900, Hunt Hunt <aksn18july / gmail.com> wrote:
> Hi friends,
> 
> I am a new ruby programmer. I have a question for all of you,
> 
> class ABC
> 
> end
> 
> As I read that Ruby is made in C. I checked the file class.c
> 
> There one structure is defined as RClass
> 
> 
> struct RClass
> {
>    struct RBasic basic;
>    struct st_table *iv_tbl
>    struct st_table *m_tbl;
>   Value super
> }
> 
> when we defined a class in Ruby how does the things happen at
> fundamental level.
> 
> ???
> how ABC is a class in RUBY?

Because you defined it as a class when you said:
def ABC
end

Why does it matter how it is turned into a class in C?  It has been defined
as a class, by you, in Ruby and thus is a class.

-- 
- Kyle