Class: Faker::Science

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/science.rb

Constant Summary

Constants inherited from Base

Base::Letters, Base::Numbers, Base::ULetters

Class Method Summary collapse

Methods inherited from Base

bothify, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, sample, shuffle, translate, unique, with_locale

Class Method Details

.elementObject



5
6
7
# File 'lib/faker/science.rb', line 5

def element
  fetch('science.element')
end

.scientistObject



9
10
11
# File 'lib/faker/science.rb', line 9

def scientist
  fetch('science.scientist')
end