title: Understanding Ruby symbol as method call
body: <pre><code>class A
     def test
         "Test from instance"
     end
     class &lt;&lt; self
         def test
             "Test from class"
         end
      end
  end
  
  p A.send(:test)    # "Test from class"
  p A.new.method(:test).call  # "Test from instance"
  </code></pre>
  
  <p>Here symbol works as expected, but here:</p>
  
  <pre><code>s="test"
  s1=:s
  p s1   # :s
  </code></pre>
  
  <p>why <strong>:s</strong> is printed here?? I dont understand the reason behind it.
  Can anyone please explain for me ?</p>