- dodaj komentarz
-
oceń wpis
- linkuj
- dodaj do historyjki
- dodaj komentarz
-
oceń wpis
- linkuj
- dodaj do historyjki
-
krzysiek fajne!

- dodaj komentarz
-
oceń wpis
- linkuj
- dodaj do historyjki


- dodaj komentarz
-
oceń wpis
- linkuj
- dodaj do historyjki
For example :
1
2
3
4
5
6
7
8
9
10
11
class UsersControllerTest < ActionController::TestCase
fast_context "#new" do
setup do
@... #Shoulda #Test
- dodaj komentarz
-
oceń wpis
- linkuj
- dodaj do historyjki
But I’d want to take this a step further. When you’re not expecting so... #Activerecord #Practise
- dodaj komentarz
-
oceń wpis
- linkuj
- dodaj do historyjki
- dodaj komentarz
-
oceń wpis
- linkuj
- dodaj do historyjki
- dodaj komentarz
-
oceń wpis
- linkuj
- dodaj do historyjki
command-line interface to #git
This is a guest post from Nathan de Vries.
I’ve never really been a fan of gitk, but early on when I started using Git I found a tool called tig. It’s available in MacP...
- dodaj komentarz
-
oceń wpis
- linkuj
- dodaj do historyjki
-
krzysiek fajne!
-
iktorn dodałem tego flaka do historyjki:Mini devguru
-
szajbus dodałem tego flaka do historyjki:rails, git and other sh*t
- dodaj komentarz
-
oceń wpis
- linkuj
- dodaj do historyjki
- dodaj komentarz
-
oceń wpis
- linkuj
- dodaj do historyjki
Now that we know the difference between an instance method and a class method, let’s cover the difference between include and extend in regards to modules. Include is for adding methods to an instance of a class and extend is for adding class methods. Let’s take a look at a small example.
module Foo
def foo
puts 'heyyyyoooo!'
end
end
class Bar
include Foo
end
Ba... #Beginner #Extend #Include
- dodaj komentarz
-
oceń wpis
- linkuj
- dodaj do historyjki
Ładuję...








