Guest User

Untitled

a guest
Jun 19th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. TIL - Today I Learned
  2. ### 2018/06/18
  3. In interviews: The answer to every question should be: "It depends!"
  4. Tech-Pro Keyboard Shortcut: Command "D" updates every instance of a variable.
  5. Ruby- Metaprogramming trick- Replace your getter and setter methods with this:
  6. attr_reader :first_name, :last_name, :active
  7. attr_writer :active
  8.  
  9. ### 2018/06/17
  10. You can write code using *triple backticks*
  11. ``` ruby
  12. def hello
  13. puts "hello world"
  14. end
  15. ```
  16.  
  17. ### 2018/06/17
  18. Gists are a tool for sharing texts!
Add Comment
Please, Sign In to add comment