lib/cureutils/common.rb in cureutils-0.2.1 vs lib/cureutils/common.rb in cureutils-1.0.0
- old
+ new
@@ -1,5 +1,6 @@
+# frozen_string_literal: true
# coding: utf-8
#
# Class includes common methos which are refered from multiple commands.
#
class Common
@@ -16,10 +17,10 @@
end
this_regex
end
def cure_list(sym)
- list = Precure.all_stars.map(&sym)
+ list = Precure.all_girls.map(&sym)
list << Cure.echo[sym]
# Regulate cure princes human name
list.map do |str|
str.gsub!(/\(.+?\)/, '')
str