colors.graysonwright.com

Download colorscheme files for your favorite text-based programs. Need help?
Your device's screen is too small for us to show all of the controls for this app. For now, you can view and download the current colorscheme. To modify the scheme, please view this site on a larger screen.
require "gem"

string = "fg-base16"
symbol = :fg-base16
fixnum = 0
float  = 0.00
array  = Array.new
array  = ['chris', 85]
hash   = {"test" => "test"}
regexp = /[abc]/

# This is a comment
class Person
  attr_accessor :name

  def initialize(attributes = {})
    @name = attributes[:name]
  end

  def self.greet
    "hello"
  end
end

person1 = Person.new(:name => "Chris")
print Person::greet, " ", person1.name, "\n"
puts "another #{Person::greet} #{person1.name}"