Ruby Calling Class Method from Instance Method
<p>What is the syntax for calling a class method from an instance method?
Suppose I have the following</p>

<pre><code>class Class1
    def initialize
       #instance method
       self.class.edit
       puts "hello"
    end

    def self.edit
       #class method
       "ha"
    end
end

c= Class1
</code></pre>

<p>When I run this code, I get no outputs.</p>