How do you grab the value of a constant if it is inside a class << self?

example

class A
class << self
B = "HI"
end
end

A::B does not work. How would you go about grabbing the value for B?
Sorry for such a noob question. Thanks!
-- 
Posted via http://www.ruby-forum.com/.