I don't understand the keywords like attr_reader or property in the following example: 
class Voiture 
  attr_reader :name
  attr_writer :name
  property :id, Serial
  property :name, String
  property :completed_at, DateTime
end
How do they work? How can I create my own? Are they functions, methods?
class MyClass 
    mymagickstuff :hello
end
 
     
     
     
    