Advertisement
Guest User

Untitled

a guest
Apr 20th, 2015
423
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.09 KB | None | 0 0
  1. ## Faker::Address
  2.  
  3. ``` ruby
  4. Faker::Address.city #=> "Autumnside"
  5. #=> "South Brielleberg"
  6. #=> "West Alvera"
  7.  
  8. Faker::Address.street_name #=> "Greyson Rapid"
  9. #=> "Hoppe Grove"
  10. #=> "Reichert Lights"
  11.  
  12. Faker::Address.street_address #=> "98786 Neal Motorway"
  13. #=> "6619 Yvonne Dale"
  14. #=> "6143 Bailey Plaza"
  15.  
  16. Faker::Address.secondary_address #=> "Suite 560"
  17. #=> "Apt. 332"
  18. #=> "Apt. 411"
  19. ```
  20.  
  21. ## Faker::Company
  22.  
  23. ``` ruby
  24. Faker::Company.name #=> "Pouros-Ondricka"
  25. #=> "Ward Group"
  26. #=> "Walter-Romaguera"
  27.  
  28. Faker::Company.suffix #=> "and Sons"
  29. #=> "LLC"
  30. #=> "and Sons"
  31.  
  32. Faker::Company.catch_phrase #=> "Versatile mobile help-desk"
  33. #=> "Extended fresh-thinking utilisation"
  34. #=> "Reactive coherent flexibility"
  35.  
  36. Faker::Company.bs #=> "extend one-to-one convergence"
  37. #=> "architect 24/7 interfaces"
  38. #=> "revolutionize viral vortals"
  39.  
  40. Faker::Company.position #=> "General Corporate President"
  41. #=> "Executive Department Consultant"
  42. #=> "Associate Director"
  43. ```
  44.  
  45. ## Faker::Education
  46.  
  47. ``` ruby
  48. Faker::Education.school #=> "Larkwood Institution"
  49. #=> "Whiteshire School"
  50. #=> "California International College"
  51.  
  52. Faker::Education.degree #=> "Bachelor of Science in Political Administration"
  53. #=> "Doctor of Medicine in Marketing Economics"
  54. #=> "Bachelor of Music in Marketing Development"
  55.  
  56. Faker::Education.degree_short #=> "MD in Industrial Arts"
  57. #=> "DPhil in Social Management"
  58. #=> "AB in Political Science"
  59.  
  60. Faker::Education.major #=> "Financial Philosophy"
  61. #=> "Social Arts"
  62. #=> "Business Accountancy"
  63.  
  64. Faker::Education.school_name #=> "Larkfield"
  65. #=> "Northshire"
  66. #=> "Lakepoint"
  67. ```
  68.  
  69. ## Faker::Geolocation
  70.  
  71. ``` ruby
  72. Faker::Geolocation.lat #=> 40.89505
  73. #=> 41.77117
  74. #=> 41.022921
  75.  
  76. Faker::Geolocation.lng #=> -115.120716573
  77. #=> -118.427610513239
  78. #=> -72.204989
  79. ```
  80.  
  81. ## Faker::Internet
  82.  
  83. ``` ruby
  84. Faker::Internet.email #=> "dayna@auer.name"
  85. #=> "joy@nienowbradtke.info"
  86. #=> "bernhard@wyman.ca"
  87.  
  88. Faker::Internet.user_name #=> "emory"
  89. #=> "janelle_schamberger"
  90. #=> "brigitte.dooley"
  91.  
  92. Faker::Internet.domain_name #=> "langworth.biz"
  93. #=> "corkery.info"
  94. #=> "schroeder.uk"
  95.  
  96. Faker::Internet.disposable_email #=> "barrett_schroeder@spamherelots.com"
  97. #=> "nicholaus@suremail.info"
  98. #=> "gladys@safetymail.info"
  99.  
  100. Faker::Internet.free_email #=> "lemuel@yahoo.com"
  101. #=> "nickolas.gulgowski@gmail.com"
  102. #=> "isaac_ankunding@gmail.com"
  103.  
  104. Faker::Internet.domain_word #=> "purdykutch"
  105. #=> "sauer"
  106. #=> "trantowmaggio"
  107.  
  108. Faker::Internet.domain_suffix #=> "us"
  109. #=> "info"
  110. #=> "biz"
  111. ```
  112.  
  113. ## Faker::Job
  114.  
  115. ``` ruby
  116. Faker::Job.title #=> "Future Data Assistant"
  117. #=> "Product Division Technician"
  118. #=> "Product Research Developer"
  119. ```
  120.  
  121. ## Faker::Lorem
  122.  
  123. ``` ruby
  124. Faker::Lorem.word #=> "sint"
  125. #=> "sit"
  126. #=> "omnis"
  127.  
  128. Faker::Lorem.sentence #=> "Expedita et aspernatur eum sit ipsam culpa."
  129. #=> "Rem sunt voluptatem laborum dolores."
  130. #=> "Ad explicabo atque culpa."
  131.  
  132. Faker::Lorem.paragraph #=> "Quidem deserunt qui atque labore sunt quis laborum. Et iste
  133. # laudantium nobis adipisci delectus. Quod vero repudiandae m
  134. # agni repellat totam. Id ullam a aperiam et laboriosam. Volup
  135. # tas aut perspiciatis o..."
  136. #=> "Dolor et quae quisquam placeat. Accusantium quidem totam no
  137. # n et deleniti accusamus hic. Iure quidem inventore molestiae
  138. # harum magni dolor. Deleniti ex a voluptas nihil temporibus.
  139. # "
  140. #=> "Fugiat sapiente vero voluptatum natus assumenda quam beatae
  141. # in. Nemo velit incidunt dolor perspiciatis. Ipsum minima oc
  142. # caecati est laudantium ducimus libero. Et fugit et adipisci
  143. # molestias. Cupiditate ..."
  144.  
  145. Faker::Lorem.words(4) #=> ["repellat", "quos", "amet", "voluptatem"]
  146. #=> ["porro", "molestias", "ut", "qui"]
  147. #=> ["blanditiis", "soluta", "enim", "fugit"]
  148.  
  149. Faker::Lorem.sentence(5) #=> "Laborum sint voluptate voluptatem rem doloremque et incidun
  150. # t itaque."
  151. #=> "Autem atque eum laborum alias perspiciatis debitis suscipit
  152. # deserunt sint."
  153. #=> "Quaerat nam consectetur eum dolor deleniti tempore doloremq
  154. # ue et aspernatur."
  155.  
  156. Faker::Lorem.sentences(3) #=> ["Culpa debitis architecto est.", "Quo et voluptatem distinc
  157. # tio repellendus qui cupiditate.", "Quo repellendus ut eius."
  158. # ]
  159. #=> ["Quos nihil dolorem quidem maxime.", "Expedita ab veniam do
  160. # lorum at et placeat iure.", "In perspiciatis cupiditate amet
  161. # non saepe consequatur molestias minus."]
  162. #=> ["Quasi velit et voluptas est.", "Dolores ut dolor aut repel
  163. # lat fuga minima sed quia.", "Eum id minus atque ex modi."]
  164.  
  165. Faker::Lorem.paragraphs(3) #=> ["Iusto mollitia sequi nam perspiciatis fuga aut. Modi moles
  166. # tiae consectetur architecto et dolorem aut perferendis. Cumq
  167. # ue rerum aliquam sapiente. Dolorum quo reiciendis nemo vero.
  168. # Quo earum explicabo pariatur.", "Possimus omnis accusamus f
  169. # uga. Harum sint facere sed dolor itaque quia. Ullam optio at
  170. # que vel nihil facilis quidem accusantium sint.", "Itaque per
  171. # ferendis saepe pariatur maxime expedita laborum qui. Ea nemo
  172. # dolor aut. In sed sit minus itaque sit."]
  173. #=> ["Ducimus non quo qui doloremque aperiam aspernatur. Consequ
  174. # atur id qui sit occaecati. Incidunt tempora quia et. Esse vo
  175. # luptatem debitis similique ab totam sit. Illo neque vel face
  176. # re maxime voluptatum non voluptatem.", "Aut eveniet consequa
  177. # tur laudantium veniam qui dolores. Provident pariatur perspi
  178. # ciatis id. Eum iste id quasi. Esse nihil quis rerum laudanti
  179. # um aliquam molestiae eum tempora.", "Quia porro sint numquam
  180. # qui. Ut sint reiciendis quis pariatur veniam nesciunt optio
  181. # . Officia unde fugit distinctio dolorem voluptatem incidunt.
  182. # Ex omnis sit et non aut."]
  183. #=> ["Dicta consequatur sapiente saepe fugiat ut. Necessitatibus
  184. # enim explicabo qui fugiat occaecati expedita quis. Quo iust
  185. # o magnam facere nihil earum.", "In deleniti explicabo veniam
  186. # dolorem temporibus enim. Delectus exercitationem ipsum dolo
  187. # r modi. Aut quia voluptas velit sint aperiam sed eveniet.",
  188. # "Quo doloribus explicabo ut magnam quasi. Voluptatem debitis
  189. # quaerat aperiam. Accusantium quis voluptatem dolorem."]
  190. ```
  191.  
  192. ## Faker::HipsterIpsum
  193.  
  194. ``` ruby
  195. Faker::HipsterIpsum.paragraph #=> "Wayfarers mustache thundercats pitchfork messenger bag high
  196. # life. Beard messenger bag wayfarers squid vinyl letterpress
  197. # party iphone jean shorts. Lomo irony before they sold out e
  198. # thical wayfarers scene..."
  199. #=> "Tofu stumptown cliche sartorial vhs letterpress keffiyeh wi
  200. # lliamsburg. Whatever jean shorts williamsburg lomo salvia fo
  201. # od truck 8-bit. Cosby sweater portland artisan wayfarers vhs
  202. # photo booth."
  203. #=> "Skateboard fanny pack wes anderson sartorial cred gluten-fr
  204. # ee vinyl marfa locavore. Messenger bag master cleanse mlkshk
  205. # vegan thundercats beard wes anderson brunch. Helvetica mess
  206. # enger bag lo-fi four l..."
  207. ```
  208.  
  209. ## Faker::HTMLIpsum
  210.  
  211. ``` ruby
  212. Faker::HTMLIpsum.body #=> "<h1>Exercitationem et</h1><table><thead><tr><th>Eligendi</t
  213. # h><th>Vel</th><th>Sed</th><th>At</th></tr></thead><tbody><tr
  214. # ><..."
  215. #=> "<h1>Excepturi sequi</h1><table><thead><tr><th>Quam</th><th>
  216. # Eius</th><th>Quibusdam</th><th>Totam</th></tr></thead><tbody
  217. # ><tr>..."
  218. #=> "<h1>Iusto voluptatem</h1><p>Laborum velit ducimus eius. Mol
  219. # estiae id vel ipsam a accusantium et ut. Sunt et fugiat qui
  220. # sint ab quia. Eum ut molestiae cumque molestiae error volupt
  221. # ates. Ipsum molestiae ..."
  222.  
  223. Faker::HTMLIpsum.table #=> "<table><thead><tr><th>Voluptatem</th><th>Porro</th><th>Tene
  224. # tur</th><th>Facilis</th></tr></thead><tbody><tr><td>Numquam<
  225. # /t..."
  226. #=> "<table><thead><tr><th>Impedit</th><th>Voluptatem</th><th>Qu
  227. # i</th><th>Est</th></tr></thead><tbody><tr><td>Nihil</td>..."
  228. #=> "<table><thead><tr><th>Iste</th><th>Et</th><th>Sequi</th><th
  229. # >Et</th></tr></thead><tbody><tr><td>Blanditiis</td>..."
  230.  
  231. Faker::HTMLIpsum.fancy_string #=> "<a href=\"#distinctio\" title=\"Tenetur explicabo\">Velit e
  232. # st</a> <code>aperiam reiciendis</code> Consectetur aut hic e
  233. # um quisquam. Dolore aut rerum dolor accusantium ab repellend
  234. # us magni. Deserunt optio o..."
  235. #=> "Et vel similique ullam accusantium laboriosam. Sit ut ea to
  236. # tam. Iusto praesentium ut molestiae. Voluptatem laudantium a
  237. # ut qui adipisci. Est saepe repellendus qui blanditiis volupt
  238. # ates sed odit ullam. <..."
  239. #=> "Neque et omnis ipsam ad culpa maiores inventore. Laborum cu
  240. # m est fugit libero repellendus vero. Modi pariatur sunt tene
  241. # tur soluta inventore ratione. Iste consequuntur quia omnis n
  242. # umquam excepturi quod ..."
  243. ```
  244.  
  245. ## Faker::Name
  246.  
  247. ``` ruby
  248. Faker::Name.name #=> "Trevion Herman V"
  249. #=> "Aracely Balistreri"
  250. #=> "Daphnee Terry Sr."
  251.  
  252. Faker::Name.first_name #=> "Aliza"
  253. #=> "Joseph"
  254. #=> "Orland"
  255.  
  256. Faker::Name.last_name #=> "Hand"
  257. #=> "Macejkovic"
  258. #=> "Heller"
  259.  
  260. Faker::Name.prefix #=> "Dr."
  261. #=> "Ms."
  262. #=> "Mr."
  263.  
  264. Faker::Name.suffix #=> "I"
  265. #=> "III"
  266. #=> "DDS"
  267. ```
  268.  
  269. ## Faker::PhoneNumber
  270.  
  271. ``` ruby
  272. Faker::PhoneNumber.phone_number #=> "335-364-4549 x430"
  273. #=> "040-278-4021 x753"
  274. #=> "420.645.4382"
  275.  
  276. Faker::PhoneNumber.short_phone_number #=> "473-412-3192"
  277. #=> "353-084-1297"
  278. #=> "080-546-2356"
  279. ```
  280.  
  281. ## Faker::Product
  282.  
  283. ``` ruby
  284. Faker::Product.brand #=> "Trouffeforge"
  285. #=> "VIG"
  286. #=> "NDZ"
  287.  
  288. Faker::Product.product_name #=> "Air HD Viewer"
  289. #=> "HD Kit"
  290. #=> "Air HD Bridge"
  291.  
  292. Faker::Product.product #=> "Amnix Air HD Tuner"
  293. #=> "Panapod Audible Filter"
  294. #=> "Phuffe Disc Receiver"
  295.  
  296. Faker::Product.model #=> "I-422"
  297. #=> "J89"
  298. #=> "L6"
  299. ```
  300.  
  301. ## Faker::NameCN
  302.  
  303. ``` ruby
  304. Faker::NameCN.name #=> "姵书虞"
  305. #=> "修男嵇"
  306. #=> "瑜人军"
  307.  
  308. Faker::NameCN.last_first #=> "向坚舜"
  309. #=> "疏骏哲"
  310. #=> "秘合雪"
  311.  
  312. Faker::NameCN.first_name #=> "佑淑"
  313. #=> "燕谦"
  314. #=> "重生"
  315.  
  316. Faker::NameCN.last_name #=> "释"
  317. #=> "巩"
  318. #=> "麻"
  319. ```
  320.  
  321. ## Faker::NameDE
  322.  
  323. ``` ruby
  324. Faker::NameDE.name #=> "Noelle Schuster"
  325. #=> "Bendix Schmid"
  326. #=> "Azra Neumann"
  327.  
  328. Faker::NameDE.first_name #=> "Victoria"
  329. #=> "Lotta"
  330. #=> "Mads"
  331.  
  332. Faker::NameDE.last_name #=> "Martin"
  333. #=> "Klein"
  334. #=> "Walter"
  335.  
  336. Faker::NameDE.prefix #=> "Frau"
  337. #=> "Prof."
  338. #=> "Prof."
  339. ```
  340.  
  341. ## Faker::NameJA
  342.  
  343. ``` ruby
  344. Faker::NameJA.name #=> "飛鳥田部"
  345. #=> "未杉浦"
  346. #=> "功本間"
  347.  
  348. Faker::NameJA.last_first #=> "青木杏子"
  349. #=> "棚原大貴"
  350. #=> "知名翔"
  351.  
  352. Faker::NameJA.first_name #=> "巴"
  353. #=> "浩子"
  354. #=> "沙耶"
  355.  
  356. Faker::NameJA.last_name #=> "小栗"
  357. #=> "高江洲"
  358. #=> "友寄"
  359. ```
  360.  
  361. ## Faker::NameRU
  362.  
  363. ``` ruby
  364. Faker::NameRU.name #=> "Стелла Карнилина"
  365. #=> "Евгения Мазовская"
  366. #=> "Кузьма Ваиренко"
  367.  
  368. Faker::NameRU.last_name #=> "Манишева"
  369. #=> "Тюлева"
  370. #=> "Понченко"
  371.  
  372. Faker::NameRU.first_name #=> "Артур"
  373. #=> "Руслана"
  374. #=> "Зинаида"
  375.  
  376. Faker::NameRU.patronymic #=> "Мечеславович"
  377. #=> "Ионович"
  378. #=> "Исаевич"
  379.  
  380. Faker::NameRU.name(:male) #=> "Слежиков Роман Всеволодович"
  381. #=> "Осип Мугрузин"
  382. #=> "Джиджаев Гавриил Леванович"
  383.  
  384. Faker::NameRU.name(:female) #=> "Зиядтдинова Полина Людвиговна"
  385. #=> "Андреева Тереза Арсеновна"
  386. #=> "Дарина Минхазова"
  387. ```
  388.  
  389. ## Faker::NameSN
  390.  
  391. ``` ruby
  392. Faker::NameSN.name_sn #=> "mame Djaly Mbodj"
  393. #=> "Hatab Samy"
  394. #=> "Niouma Dramé"
  395.  
  396. Faker::NameSN.name_male #=> "serigne Yakou Diagne"
  397. #=> "serigne Sécouba Diagne"
  398. #=> "Sihalébé Badji"
  399.  
  400. Faker::NameSN.name_female #=> "Thiomba Niang"
  401. #=> "adjaratou Kiné Panduppy"
  402. #=> "Nini Gakou"
  403.  
  404. Faker::NameSN.first_name_male #=> "Khoudia"
  405. #=> "Sanokho"
  406. #=> "Diomaye"
  407.  
  408. Faker::NameSN.first_name_female #=> "Assa"
  409. #=> "Sahaba"
  410. #=> "Manthita"
  411.  
  412. Faker::NameSN.prefix_male #=> "eladji"
  413. #=> "eladji"
  414. #=> "serigne"
  415.  
  416. Faker::NameSN.prefix_female #=> "adjaratou"
  417. #=> "adja"
  418. #=> "adja"
  419. ```
  420.  
  421. ## Faker::PhoneNumberAU
  422.  
  423. ``` ruby
  424. Faker::PhoneNumberAU.phone_number #=> "0495 539 191"
  425. #=> "(05) 6838 2406"
  426. #=> "0496 013 652"
  427. ```
  428.  
  429. ## Faker::PhoneNumberSN
  430.  
  431. ``` ruby
  432. Faker::PhoneNumberSN.phone_number #=> "77-356-93-09"
  433. #=> "33-891-67-75"
  434. #=> "33-886-02-02"
  435. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement