Class: Faker::JapaneseMedia::OnePiece
- Defined in:
- lib/faker/japanese_media/one_piece.rb
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.akuma_no_mi ⇒ String
Produces an akuma no mi from One Piece.
-
.character ⇒ String
Produces a character from One Piece.
-
.island ⇒ String
Produces an island from One Piece.
-
.location ⇒ String
Produces a location from One Piece.
-
.quote ⇒ String
Produces a quote from One Piece.
-
.sea ⇒ String
Produces a sea from One Piece.
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, shuffle!, translate, unique, with_locale
Class Method Details
.akuma_no_mi ⇒ String
Produces an akuma no mi from One Piece.
81 82 83 |
# File 'lib/faker/japanese_media/one_piece.rb', line 81 def akuma_no_mi fetch('one_piece.akuma_no_mi') end |
.character ⇒ String
Produces a character from One Piece.
16 17 18 |
# File 'lib/faker/japanese_media/one_piece.rb', line 16 def character fetch('one_piece.characters') end |
.island ⇒ String
Produces an island from One Piece.
42 43 44 |
# File 'lib/faker/japanese_media/one_piece.rb', line 42 def island fetch('one_piece.islands') end |
.location ⇒ String
Produces a location from One Piece.
55 56 57 |
# File 'lib/faker/japanese_media/one_piece.rb', line 55 def location fetch('one_piece.locations') end |
.quote ⇒ String
Produces a quote from One Piece.
68 69 70 |
# File 'lib/faker/japanese_media/one_piece.rb', line 68 def quote fetch('one_piece.quotes') end |
.sea ⇒ String
Produces a sea from One Piece.
29 30 31 |
# File 'lib/faker/japanese_media/one_piece.rb', line 29 def sea fetch('one_piece.seas') end |