class RSpec::Snapshot::DefaultSerializer

Serializes values in a human readable way for snapshots using the awesome_print gem

Public Instance Methods

dump(value) click to toggle source
# File lib/rspec/snapshot/default_serializer.rb, line 10
def dump(value)
  value.ai(plain: true, indent: 2)
end