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
| <div class="jumbotron"> | |
| <h2><%= gettext "Welcome %{name}", name: @current_user.name %></h2> | |
| <p class="lead">A productive web framework that<br />does not compromise speed and maintainability.</p> | |
| </div> |
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 User: | |
| """Basic User class""" | |
| def __init__(self, name, email, password): | |
| self.name = name | |
| self.email = email | |
| self.password = password |
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
| require 'minitest/autorun' | |
| require_relative 'raindrops' | |
| class RaindropsTest < Minitest::Test | |
| def test_the_sound_for_1_is_1 | |
| end | |
| def test_the_sound_for_3_is_pling | |
| end |
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
| def foo | |
| @foo ||= begin | |
| return 2 | |
| 1 | |
| end | |
| end |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer