Class: Faker::JapaneseMedia::SwordArtOnline

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

Constant Summary

Constants inherited from Base

Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters

Class Method Summary collapse

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, translate, unique, with_locale

Class Method Details

.game_nameString

Produces the in-game name of a character from Sword Art Online.

Examples:

Faker::JapaneseMedia::SwordArtOnline.game_name #=> "Silica"

Returns:

  • (String)

Available since:

  • 1.9.0



29
30
31
# File 'lib/faker/japanese_media/sword_art_online.rb', line 29

def game_name
  fetch('sword_art_online.game_name')
end

.itemString

Produces the name of an item from Sword Art Online.

Examples:

Faker::JapaneseMedia::SwordArtOnline.item #=> "Blackwyrm Coat"

Returns:

  • (String)

Available since:

  • 1.9.0



55
56
57
# File 'lib/faker/japanese_media/sword_art_online.rb', line 55

def item
  fetch('sword_art_online.item')
end

.locationString

Produces the name of a location from Sword Art Online.

Examples:

Faker::JapaneseMedia::SwordArtOnline.location #=> "Ruby Palace"

Returns:

  • (String)

Available since:

  • 1.9.0



42
43
44
# File 'lib/faker/japanese_media/sword_art_online.rb', line 42

def location
  fetch('sword_art_online.location')
end

.real_nameString

Produces the real name of a character from Sword Art Online.

Examples:

Faker::JapaneseMedia::SwordArtOnline.real_name #=> "Kirigaya Kazuto"

Returns:

  • (String)

Available since:

  • 1.9.0



16
17
18
# File 'lib/faker/japanese_media/sword_art_online.rb', line 16

def real_name
  fetch('sword_art_online.real_name')
end