Module: Faker::Precure
- Defined in:
- lib/faker/precure.rb,
lib/faker/precure/version.rb
Constant Summary collapse
- VERSION =
"0.0.6"
Class Method Summary collapse
- .cast_name ⇒ String
- .human_name ⇒ String
- .precure_name ⇒ String
- .title ⇒ String
- .transform_message ⇒ String
- .user_name ⇒ String
Class Method Details
.cast_name ⇒ String
23 24 25 |
# File 'lib/faker/precure.rb', line 23 def self.cast_name sample_girl.cast_name end |
.human_name ⇒ String
8 9 10 |
# File 'lib/faker/precure.rb', line 8 def self.human_name sample_girl.human_name end |
.precure_name ⇒ String
13 14 15 |
# File 'lib/faker/precure.rb', line 13 def self.precure_name sample_girl.precure_name end |
.title ⇒ String
33 34 35 |
# File 'lib/faker/precure.rb', line 33 def self.title sample_series.title end |
.transform_message ⇒ String
18 19 20 |
# File 'lib/faker/precure.rb', line 18 def self. ::Precure.all.map(&:transform_message).compact.sample end |
.user_name ⇒ String
28 29 30 |
# File 'lib/faker/precure.rb', line 28 def self.user_name ::Rubicure::Girl.uniq_names.sample.to_s end |