Class: FactoryBotFactory::Converters::StringConverter

Inherits:
Object
  • Object
show all
Defined in:
lib/factory_bot_factory/converters/string_converter.rb

Class Method Summary collapse

Class Method Details

.call(key, value, options = {}) ⇒ Object



4
5
6
# File 'lib/factory_bot_factory/converters/string_converter.rb', line 4

def self.call(key, value, options = {})
  "\"#{value}\""
end