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
| # Tipos: | |
| # Inteiro: int() | |
| # Decimal: float() | |
| # Texto: str() | |
| # booleano: bool() | |
| # Pega do teclado e salva na variável | |
| # variavel = input() | |
| # Pega do teclado e converte para número |
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
| Rails: | |
| Enabled: true | |
| Metrics/LineLength: | |
| Max: 120 | |
| Style/Documentation: | |
| Enabled: false | |
| AllCops: |
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
| // preferences | |
| { | |
| "files.autoSave": "afterDelay", | |
| "files.insertFinalNewline": true, | |
| "editor.formatOnSave": true, | |
| "files.trimTrailingWhitespace": true, | |
| "editor.tabSize": 2, | |
| "breadcrumbs.enabled": true, | |
| "explorer.compactFolders": false, | |
| "workbench.colorTheme": "Dracula", |
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
| ## From Lynda.com course 'RSpec Testing Framework with Ruby' | |
| describe 'Expectation Matchers' do | |
| describe 'equivalence matchers' do | |
| it 'will match loose equality with #eq' do | |
| a = "2 cats" | |
| b = "2 cats" | |
| expect(a).to eq(b) |
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
| #Gemfile | |
| group :development do | |
| # Access an interactive console on exception pages or by calling 'console' anywhere in the code. | |
| gem 'web-console', '>= 3.3.0' | |
| gem 'listen', '>= 3.0.5', '< 3.2' | |
| # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring | |
| gem 'spring' | |
| gem 'spring-watcher-listen', '~> 2.0.0' | |
| gem 'spring-commands-rspec' | |
| end |