Module: Faker::Precure

Defined in:
lib/faker/precure.rb,
lib/faker/precure/version.rb

Constant Summary collapse

VERSION =
"0.0.5"

Class Method Summary collapse

Class Method Details

.cast_nameString


23
24
25
# File 'lib/faker/precure.rb', line 23

def self.cast_name
  sample_girl.cast_name
end

.human_nameString


8
9
10
# File 'lib/faker/precure.rb', line 8

def self.human_name
  sample_girl.human_name
end

.precure_nameString


13
14
15
# File 'lib/faker/precure.rb', line 13

def self.precure_name
  sample_girl.precure_name
end

.titleString


33
34
35
# File 'lib/faker/precure.rb', line 33

def self.title
  sample_series.title
end

.transform_messageString


18
19
20
# File 'lib/faker/precure.rb', line 18

def self.transform_message
  ::Precure.all.map(&:transform_message).compact.sample
end

.user_nameString


28
29
30
# File 'lib/faker/precure.rb', line 28

def self.user_name
  ::Rubicure::Girl.uniq_names.sample.to_s
end