Class: Faker::Science
- Inherits:
-
Base
- Object
- Base
- Faker::Science
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, respond_to_missing?, sample, shuffle, translate, unique, with_locale
Class Method Details
.element ⇒ Object
4
5
6
|
# File 'lib/faker/science.rb', line 4
def element
fetch('science.element')
end
|
.element_symbol ⇒ Object
8
9
10
|
# File 'lib/faker/science.rb', line 8
def element_symbol
fetch('science.element_symbol')
end
|
.scientist ⇒ Object
12
13
14
|
# File 'lib/faker/science.rb', line 12
def scientist
fetch('science.scientist')
end
|