I'm writing a small Ruby library:
class FizzBuzzEndpoint
def call(env)| =Navigating= | |
| visit('/projects') | |
| visit(post_comments_path(post)) | |
| =Clicking links and buttons= | |
| click_link('id-of-link') | |
| click_link('Link Text') | |
| click_button('Save') | |
| click('Link Text') # Click either a link or a button | |
| click('Button Value') |
| BASIC BAECHU KIMCHI | |
| -------------------------------------------------------------------------- | |
| Baechu (Napa cabbage) kimchi is one of the staple foods in Korea. Spicy | |
| and tangy, it is typically served as a side dish, with rice, but is also | |
| found in various Korean soups and stews. | |
| This basic version has just the fundamentals; once you're comfortable | |
| with this version, you might try adding shredded carrots, Daikon radish, | |
| pickled baby shrimp, or any number of other things. Search around online |
| --colour | |
| -I app |
| // put this in your address bar, or, better yet, make a bookmark. It removes all traces of comments. | |
| javascript:var subtexts = document.getElementsByClassName("subtext"); Array.prototype.forEach.call(subtexts, function(subtext) { subtext.style.display = 'none'; }); |
| # coding: utf-8 | |
| # Can ruby have method names have newlines/be crazy? | |
| class BadKitty | |
| FACE = " | |
| |\\_/| | |
| / @ @ \\ | |
| ( > º < ) | |
| `>>x<<´ |