Sha256: 216bedbfe07b0f715cc712a50aaf35699221fe8a8705fbae1799de48677582d8
Contents?: true
Size: 257 Bytes
Versions: 55
Compression:
Stored size: 257 Bytes
Contents
module ZooApp module Animals class Alligator attr_reader :name def initialize attributes @name = attributes[:name] end def == other other.is_a?(Alligator) && other.name == self.name end end end end
Version data entries
55 entries across 55 versions & 2 rubygems