original_string: public function dasherize($underscoredWord)
      {
          if ($result = $this->getCache($underscoredWord, 'dasherize')) {
              return $result;
          }
  
          $result = str_replace('_', '-', $this->underscore($underscoredWord));
          return $this->setCache($underscoredWord, 'dasherize', $result);
      }
code: public function dasherize($underscoredWord)
      {
          if ($result = $this->getCache($underscoredWord, 'dasherize')) {
              return $result;
          }
  
          $result = str_replace('_', '-', $this->underscore($underscoredWord));
          return $this->setCache($underscoredWord, 'dasherize', $result);
      }
code_tokens: public function dasherize ( $ underscoredWord ) { if ( $ result = $ this -> getCache ( $ underscoredWord , 'dasherize' ) ) { return $ result ; } $ result = str_replace ( '_' , '-' , $ this -> underscore ( $ underscoredWord ) ) ; return $ this -> setCache ( $ underscoredWord , 'dasherize' , $ result ) ; }
docstring: Replaces underscores with dashes in the string.
  
  Example:
  1. dasherize("puni_puni") => "puni-puni"
docstring_tokens: Replaces underscores with dashes in the string .