Class: Faker::Science
- Inherits:
-
Base
- Object
- Base
- Faker::Science
show all
- Defined in:
- lib/faker/default/science.rb
Constant Summary
Constants inherited
from Base
Base::Letters, Base::Numbers, Base::ULetters
Class Method Summary
collapse
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, translate, unique, with_locale
Class Method Details
.element ⇒ Object
6
7
8
|
# File 'lib/faker/default/science.rb', line 6
def element
fetch('science.element')
end
|
.element_symbol ⇒ Object
10
11
12
|
# File 'lib/faker/default/science.rb', line 10
def element_symbol
fetch('science.element_symbol')
end
|
.scientist ⇒ Object
14
15
16
|
# File 'lib/faker/default/science.rb', line 14
def scientist
fetch('science.scientist')
end
|