In this snippets with code ruby, you will see the sintax of create Structs and some Ruby 2.0+ features. The features are showed:
- **keyargs and labelled params
Sintax to create structures similar to classes but with some diferences. Structs have a basic initialize that get attributes by params and create a method acessors (getters and setters) by default.