Sha256: ed2fc981303f227e20cfd6c235195ad7e2697430f30e142978fa056a21d2f34a

Contents?: true

Size: 179 Bytes

Versions: 10

Compression:

Stored size: 179 Bytes

Contents

# frozen_string_literal: true

module Support
  module Helpers
    module OneLineHeredoc
      def one_line heredoc
        heredoc.strip.tr "\n", ' '
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
rambling-trie-2.4.0 spec/support/helpers/one_line_heredoc.rb
rambling-trie-2.3.1 spec/support/helpers/one_line_heredoc.rb
rambling-trie-2.3.0 spec/support/helpers/one_line_heredoc.rb
rambling-trie-2.2.1 spec/support/helpers/one_line_heredoc.rb
rambling-trie-2.2.0 spec/support/helpers/one_line_heredoc.rb
rambling-trie-opal-2.1.1.1 spec/support/helpers/one_line_heredoc.rb
rambling-trie-opal-2.1.1 spec/support/helpers/one_line_heredoc.rb
rambling-trie-2.1.1 spec/support/helpers/one_line_heredoc.rb
rambling-trie-2.1.0 spec/support/helpers/one_line_heredoc.rb
rambling-trie-2.0.0 spec/support/helpers/one_line_heredoc.rb