PageRenderTime 936ms queryTime 19ms sortTime 7ms getByIdsTime 875ms findMatchingLines 4ms

8+ results for 'lang:ruby /<<' (936 ms)

Not the results you expected?
test-main.rb https://bitbucket.org/ohimmelreich/asalia-training.git | Ruby | 752 lines
                    
661    @input = INPUT
                    
662    @expected = SRC.gsub(/<< \((.*?)\).to_s;/, '<< Erubis::XmlHelper.escape_xml(\1);')
                    
663    @options = '-ex'
                    
                
tokenizer.rb https://gitlab.com/Aaeinstein54/linguist | Ruby | 205 lines
                    
113        # Common operators
                    
114        elsif token = s.scan(/<<?|\+|\-|\*|\/|%|&&?|\|\|?/)
                    
115          tokens << token
                    
                
php.rb https://gitlab.com/lukas.mesicek/gitlab-rouge | Ruby | 173 lines
                    
79        # heredocs
                    
80        rule /<<<('?)([a-z_]\w*)\1\n.*?\n\2;?\n/im, Str::Heredoc
                    
81        rule /\s+/, Text
                    
                
ruby.rb https://gitlab.com/xilinus/prototypeui | Ruby | 367 lines
                    
318          elsif state == :module_expected
                    
319            if match = scan(/<</)
                    
320              kind = :operator
                    
                
shell.rb https://gitlab.com/lukas.mesicek/gitlab-rouge | Ruby | 152 lines
                    
51
                    
52        rule /<<</, Operator # here-string
                    
53        rule /<<-?\s*(\'?)\\?(\w+)\1/ do |m|
                    
                
ruby.rb https://github.com/wangmh/webistrano.git | Ruby | 317 lines
                    
89                saw_word = ( chunk[-1,1] =~ /[\w!?]/ )
                    
90                start_group :punct, scan( /<</ )
                    
91                if saw_word
                    
                
yaml.rb https://bitbucket.org/pekopeko1/redhotchiliproject-3.0.git | Ruby | 140 lines
                    
105            next
                    
106          when match = scan(/<</)
                    
107            encoder.text_token match, :class_variable
                    
                
yaml.rb https://gitlab.com/ba0f3/redmine | Ruby | 140 lines
                    
101            kind = :global_variable
                    
102          when scan(/<</)
                    
103            kind = :class_variable
                    
                
 

Source

Language