Last active
March 29, 2016 00:32
-
-
Save msroot/730c4fce936ef87cdb24 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Rouxo | |
| def initialize(xroma, ufasma, onoma) | |
| @xroma = xroma | |
| @ufasma= ufasma | |
| @onoma= onoma | |
| end | |
| def xroma | |
| @xroma | |
| end | |
| def ufasma | |
| @ufasma | |
| end | |
| def onoma | |
| @onoma | |
| end | |
| end | |
| ta_rouxa_mou = [] | |
| ta_rouxa_mou << Rouxo.new("kokino", "emrime", "kaskol") | |
| ta_rouxa_mou << Rouxo.new("mple", "bambakero", "fousta") | |
| ta_rouxa_mou.map { |rouxo| | |
| puts rouxo.onoma | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment