Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5fb8e9ec05
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 10 lines (9 sloc) 0.153 kb
1 2 3 4 5 6 7 8 9
class Money
  attr_reader :amount
  def initialize(amount)
    @amount = amount
  end
  def equals(object)
    return @amount == object.amount
  end
end
Something went wrong with that request. Please try again.