Sha256: 480d5359083686da5f670f7836998be19cbf57cfce49da764911a80763ccafbd
Contents?: true
Size: 489 Bytes
Versions: 8
Compression:
Stored size: 489 Bytes
Contents
require 'bundler' Bundler.setup gem 'minitest' require 'representable' require 'representable/json' require 'test/unit' require 'minitest/spec' require 'minitest/autorun' require 'test_xml/mini_test' require 'mocha' class Album attr_accessor :songs, :best_song def initialize(*songs) @songs = songs @best_song = songs.last end end class Song attr_accessor :name def initialize(name=nil) @name = name end def ==(other) name == other.name end end
Version data entries
8 entries across 8 versions & 1 rubygems