projects
/
feedcatcher.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0b30c79b10c277166f34ab93257c0ae313327645
[feedcatcher.git]
/
vendor
/
rails
/
actionpack
/
test
/
controller
/
fake_models.rb
1
class
Customer
<
Struct
.
new
(
:name
,
:id
)
2
def
to_param
3
id
.
to_s
4
end
5
end
6
7
class
BadCustomer
<
Customer
8
end
9
10
class
GoodCustomer
<
Customer
11
end
12
13
module
Quiz
14
class
Question
<
Struct
.
new
(
:name
,
:id
)
15
def
to_param
16
id
.
to_s
17
end
18
end
19
end