<commit_before>module ActionView
  
  module Helpers
    module AssetTagHelper
      
      alias_method :old_stylesheet_link_tag, :stylesheet_link_tag
    
      def stylesheet_link_tag(*sources)
        options = sources.extract_options!.stringify_keys
        options[:media] = 'print' if options[:media].blank?
        old_stylesheet_link_tag(sources, options)
      end
      
    end # AssetTagHelper
  end # Helpers
end # ActionView<commit_msg>Rename ActionView::Helpers::AssetTagHelper.stylesheet_link_tag to print_stylesheet_link_tag (stringify_keys doesn't work for rails3)<commit_after>module ActionView
  
  module Helpers
    module AssetTagHelper
      
      alias_method :old_stylesheet_link_tag, :stylesheet_link_tag
    
      def print_stylesheet_link_tag(*sources)
        options = sources.extract_options!.stringify_keys
        options[:media] = 'print' if options[:media].blank?
        old_stylesheet_link_tag(sources, options)
      end
      
    end # AssetTagHelper
  end # Helpers
end # ActionView

{'fraction_non_alphanumeric': 0.06614785992217899, 'fraction_numerical': 0.0009727626459143969, 'mean_word_length': 3.493449781659389, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '648528', 'n_tokens_mistral': 294, 'n_tokens_neox': 290, 'n_words': 59}