#!/usr/local/bin/ruby class Graph attr :vertices attr :edges def initialize @vertices = [] @edges = [] end end p Graph.new