1require 'active_support'23module VimColors4 class RubyExample5 CONSTANT = /^[0-9]+ regex awesomes$/67 attr_reader :colorscheme89 # TODO: Bacon ipsum dolor sit amet10 def initialize(attributes = {})11 @colorscheme = attributes[:colorscheme]12 end1314 def self.examples15 # Bacon ipsum dolor sit amet16 ['string', :symbol, true, false, nil, 99.9, 1..2].each do |value|17 puts "it appears that #{value.inspect} is a #{value.class}"18 end1920 {:key1 => :value1, key2: 'value2'}.each do |key, value|21 puts "the #{key.inspect} key has a value of #{value.inspect}"22 end2324 %w[One Two Three].each { |number| puts number }25 end2627 private2829 def heredoc_example30 <<-SQL31 SELECT *32 FROM colorschemes33 WHERE background = 'dark'34 SQL35 end36 end37end