Module: Cure::CosmoExt

Defined in:
lib/rubicure/cure_cosmo.rb

Instance Method Summary collapse

Instance Method Details

#rollbackObject



15
16
17
18
# File 'lib/rubicure/cure_cosmo.rb', line 15

def rollback
  self[:human_name] = "ユニ"
  self
end

#transform!(style = nil) ⇒ Object



3
4
5
6
7
8
9
10
11
12
13
# File 'lib/rubicure/cure_cosmo.rb', line 3

def transform!(style = nil)
  return super(style) unless style == :rainbow_perfume

  humanize!

  self[:human_name] = %w[マオ ブルーキャット バケニャーン].sample

   "レインボーパフュームいくニャン!"

  self
end