chore: remove unneeded trailing whitespace

This commit is contained in:
John Bampton 2021-04-12 01:44:46 +10:00
parent 4b681bd50f
commit c757ab2efe
3 changed files with 5 additions and 5 deletions

@ -18,13 +18,13 @@
```ruby
send_stream(filename: "subscribers.csv") do |stream|
stream.writeln "email_address,updated_at"
@subscribers.find_each do |subscriber|
stream.writeln [ subscriber.email_address, subscriber.updated_at ].join(",")
end
end
```
*DHH*
* Add `ActionController::Live::Buffer#writeln` to write a line to the stream with a newline included.

@ -116,7 +116,7 @@ function match(input) {
if(regexp_states[state]) {
var slice_start = previous_start != null ? previous_start : start_index;
for(var key in regexp_states[state]) {
var re = new RegExp("^" + key + "$");
@ -143,7 +143,7 @@ function match(input) {
var state_parts = states[key];
var state = state_parts[0];
var slice_start = state_parts[1];
// we must ignore ones that are still accepting more data
if (slice_start != null) continue;

@ -9,7 +9,7 @@
the same name. The system will transparently encrypt these
attributes before saving them into the database and will
decrypt them when retrieving their values.
```ruby
class Person < ApplicationRecord