简单、好用的php 集成开发环境 Xserver

monokai

到github下载配色方案
 1require 'active_support'
 2
 3module VimColors
 4  class RubyExample
 5    CONSTANT = /^[0-9]+ regex awesomes$/
 6
 7    attr_reader :colorscheme
 8
 9    # TODO: Bacon ipsum dolor sit amet
10    def initialize(attributes = {})
11      @colorscheme = attributes[:colorscheme]
12    end
13
14    def self.examples
15      # Bacon ipsum dolor sit amet
16      ['string', :symbol, true, false, nil, 99.9, 1..2].each do |value|
17        puts "it appears that #{value.inspect} is a #{value.class}"
18      end
19
20      {:key1 => :value1, key2: 'value2'}.each do |key, value|
21        puts "the #{key.inspect} key has a value of #{value.inspect}"
22      end
23
24      %w[One Two Three].each { |number| puts number }
25    end
26
27    private
28
29    def heredoc_example
30      <<-SQL
31 SELECT *
32 FROM colorschemes
33 WHERE background = 'dark'
34 SQL
35    end
36  end
37end

热门评论

  • lxbfYeaa
    e