class Locale::Generators::ComponentGenerator
def translation_keys
def translation_keys keys = attributes.map(&:name) keys = %w[hello] if keys.empty? keys.map { |name| [name, name.capitalize] }.to_h end
def translation_keys keys = attributes.map(&:name) keys = %w[hello] if keys.empty? keys.map { |name| [name, name.capitalize] }.to_h end