@@ -13,6 +13,110 @@ var Animal = function (faker) {
1313 self . dog = function ( ) {
1414 return faker . random . arrayElement ( faker . definitions . animal . dog ) ;
1515 } ;
16+ /**
17+ * cat
18+ *
19+ * @method faker.animal.cat
20+ */
21+ self . cat = function ( ) {
22+ return faker . random . arrayElement ( faker . definitions . animal . cat ) ;
23+ } ;
24+ /**
25+ * snake
26+ *
27+ * @method faker.animal.snake
28+ */
29+ self . snake = function ( ) {
30+ return faker . random . arrayElement ( faker . definitions . animal . snake ) ;
31+ } ;
32+ /**
33+ * bear
34+ *
35+ * @method faker.animal.bear
36+ */
37+ self . bear = function ( ) {
38+ return faker . random . arrayElement ( faker . definitions . animal . bear ) ;
39+ } ;
40+ /**
41+ * lion
42+ *
43+ * @method faker.animal.lion
44+ */
45+ self . lion = function ( ) {
46+ return faker . random . arrayElement ( faker . definitions . animal . lion ) ;
47+ } ;
48+ /**
49+ * cetacean
50+ *
51+ * @method faker.animal.cetacean
52+ */
53+ self . cetacean = function ( ) {
54+ return faker . random . arrayElement ( faker . definitions . animal . cetacean ) ;
55+ } ;
56+ /**
57+ * horse
58+ *
59+ * @method faker.animal.horse
60+ */
61+ self . horse = function ( ) {
62+ return faker . random . arrayElement ( faker . definitions . animal . horse ) ;
63+ } ;
64+ /**
65+ * bird
66+ *
67+ * @method faker.animal.bird
68+ */
69+ self . bird = function ( ) {
70+ return faker . random . arrayElement ( faker . definitions . animal . bird ) ;
71+ } ;
72+ /**
73+ * cow
74+ *
75+ * @method faker.animal.cow
76+ */
77+ self . cow = function ( ) {
78+ return faker . random . arrayElement ( faker . definitions . animal . cow ) ;
79+ } ;
80+ /**
81+ * fish
82+ *
83+ * @method faker.animal.fish
84+ */
85+ self . fish = function ( ) {
86+ return faker . random . arrayElement ( faker . definitions . animal . fish ) ;
87+ } ;
88+ /**
89+ * crocodilia
90+ *
91+ * @method faker.animal.crocodilia
92+ */
93+ self . crocodilia = function ( ) {
94+ return faker . random . arrayElement ( faker . definitions . animal . crocodilia ) ;
95+ } ;
96+ /**
97+ * insect
98+ *
99+ * @method faker.animal.insect
100+ */
101+ self . insect = function ( ) {
102+ return faker . random . arrayElement ( faker . definitions . animal . insect ) ;
103+ } ;
104+ /**
105+ * rabbit
106+ *
107+ * @method faker.animal.rabbit
108+ */
109+ self . rabbit = function ( ) {
110+ return faker . random . arrayElement ( faker . definitions . animal . rabbit ) ;
111+ } ;
112+ /**
113+ * type
114+ *
115+ * @method faker.animal.type
116+ */
117+ self . type = function ( ) {
118+ return faker . random . arrayElement ( faker . definitions . animal . type ) ;
119+ } ;
16120
17121 return self ;
18122} ;
0 commit comments