Sha256: f9e18aa83c7ec2996c963f5fa0b274fd5a8e3ce892410a44ccc18619ec655fc7

Contents?: true

Size: 324 Bytes

Versions: 105

Compression:

Stored size: 324 Bytes

Contents

module RSpec
  module Core
    class Source
      # @private
      # Represents a source location of node or token.
      Location = Struct.new(:line, :column) do
        def self.location?(array)
          array.is_a?(Array) && array.size == 2 && array.all? { |e| e.is_a?(Integer) }
        end
      end
    end
  end
end

Version data entries

105 entries across 96 versions & 21 rubygems

Version Path
cvss-suite-1.0.7 vendor/cache/ruby/2.2.0/gems/rspec-core-3.4.0/lib/rspec/core/source/location.rb
rspec-core-3.5.0.beta4 lib/rspec/core/source/location.rb
guesswhat-1.1.0 vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/source/location.rb
guesswhat-1.0.1 vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/source/location.rb
guesswhat-1.0.0 vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/source/location.rb
guesswhat-0.1.0 vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/source/location.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/rspec-core-3.4.4/lib/rspec/core/source/location.rb
cvss-suite-1.0.6 vendor/cache/ruby/2.2.0/gems/rspec-core-3.4.0/lib/rspec/core/source/location.rb
cvss-suite-1.0.5 vendor/cache/ruby/2.2.0/gems/rspec-core-3.4.0/lib/rspec/core/source/location.rb
cvss-suite-1.0.4 vendor/cache/ruby/2.2.0/gems/rspec-core-3.4.0/lib/rspec/core/source/location.rb
cvss-suite-1.0.3 vendor/cache/ruby/2.2.0/gems/rspec-core-3.4.0/lib/rspec/core/source/location.rb
cvss-suite-1.0.2 vendor/cache/ruby/2.2.0/gems/rspec-core-3.4.0/lib/rspec/core/source/location.rb
cvss-suite-1.0.1 vendor/cache/ruby/2.2.0/gems/rspec-core-3.4.0/lib/rspec/core/source/location.rb
cvss-suite-1.0.0 vendor/cache/ruby/2.2.0/gems/rspec-core-3.4.0/lib/rspec/core/source/location.rb
rspec-core-3.5.0.beta3 lib/rspec/core/source/location.rb
rspec-core-3.5.0.beta2 lib/rspec/core/source/location.rb
rspec-core-3.4.4 lib/rspec/core/source/location.rb
simplenet-client-0.2.0 ./vendor/bundle/ruby/1.9.1/gems/rspec-core-3.4.2/lib/rspec/core/source/location.rb
simplenet-client-0.2.0 ./vendor/bundle/ruby/2.0.0/gems/rspec-core-3.4.2/lib/rspec/core/source/location.rb
rspec-core-3.4.3 lib/rspec/core/source/location.rb