Venkat Akkineni wrote:
> Hi
> 
>     I have created a class with a class method. I am trying to call it
> from a different class and I get the "uninitialized constant" error.
> Could some body help me out.
> 

I don't know what all that code does--it's a mess.  Here is a simple 
example:

class A
  def A.get
    "hi"
  end
end

class B
  def test
    puts A.get
  end
end

b = B.new
b.test

--output:--
hi
-- 
Posted via http://www.ruby-forum.com/.