Sha256: f230eb33b7af46840d85bc649a72e6bcdc8b694bad31b41a92a16e2316851d9a

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 Bytes

Contents

# Copyright (C) 2007-2008 Annas Al Maleh
# Licensed under the LGPL. See /COPYING.LGPL for more details.

class Contact
  attr_accessor :first_name, :last_name, :email
  
  def initialize(attribute_map)
    @first_name = attribute_map[:first_name]
    @last_name = attribute_map[:last_name]
    @email = attribute_map[:email]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
glimmer-0.1.0.0 samples/contactmanager/contact.rb