title: Execute ruby method from command-line
body: <p>I have the following class in Ruby in the file <em>test_class.rb</em>:</p>
  
  <pre><code>class TestClass
  
     def test_verify_one
           # DO SOME
     end
  
     def test_verify_two
           # DO SOME
     end
  
  end
  </code></pre>
  
  <p>To execute this class I send two parameters to the terminal, ENVIRONMENT and LANGUAGE.</p>
  
  <p>So... to call from terminal I use:</p>
  
  <pre><code>ruby test_class.rb ENVIRONMENT LANGUAGE
  </code></pre>
  
  <p>This executes both methods.</p>
  
  <p>I want to execute only one. </p>
  
  <p>I tried the following:</p>
  
  <pre><code>ruby -r "test_class.rb" -e "TestClass.test_verify_one" ENVIRONMENT LANGUAGE
  </code></pre>
  
  <p>but it is not working.</p>
  
  <p>Can you help me?</p>