Sha256: 6fb57ee6ef640f98bedcc0819651b7758b0183f618aa808811cfec55b7394ce4

Contents?: true

Size: 208 Bytes

Versions: 11

Compression:

Stored size: 208 Bytes

Contents

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)

require 'rspec'
require 'aigu'

RSpec.configure do |*|
end

class String
  def unindent
    gsub(/^#{scan(/^\s*/).min_by(&:length)}/, '')
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
aigu-0.7 spec/spec_helper.rb
aigu-0.6.1 spec/spec_helper.rb
aigu-0.6 spec/spec_helper.rb
aigu-0.5.1 spec/spec_helper.rb
aigu-0.5 spec/spec_helper.rb
aigu-0.4.5 spec/spec_helper.rb
aigu-0.4.4 spec/spec_helper.rb
aigu-0.4.3 spec/spec_helper.rb
aigu-0.4.2 spec/spec_helper.rb
aigu-0.4.1 spec/spec_helper.rb
aigu-0.4 spec/spec_helper.rb