Skip to content

Instantly share code, notes, and snippets.

@brandon-beacher
Created June 17, 2009 19:55
Show Gist options
  • Select an option

  • Save brandon-beacher/131459 to your computer and use it in GitHub Desktop.

Select an option

Save brandon-beacher/131459 to your computer and use it in GitHub Desktop.
module Importers
class PhoneRow < ObjectRow
self.abstract_class = true
def to_phone
Phone.new \
:extension => get_extension,
:kind => get_kind,
:number => get_number,
:primary => get_primary,
:public => get_public
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment