lib/aserto/errors.rb in aserto-0.30.5 vs lib/aserto/errors.rb in aserto-0.30.6

- old
+ new

@@ -21,10 +21,10 @@ @message || @default_message end def inspect details = %i[action conditions message].filter_map do |attribute| - value = instance_variable_get "@#{attribute}" + value = instance_variable_get :"@#{attribute}" "#{attribute}: #{value.inspect}" if value.present? end.join(", ") "#<#{self.class.name} #{details}>" end end