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
rspec-core-3.6.0.beta2 lib/rspec/core/source/location.rb
gameboard-3.1.0 vendor/bundle/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/source/location.rb
gameboard-3.0.0 vendor/bundle/ruby/2.3.0/gems/rspec-core-3.5.4/lib/rspec/core/source/location.rb
rspec-core-3.6.0.beta1 lib/rspec/core/source/location.rb
rspec-core-3.5.4 lib/rspec/core/source/location.rb
cvss-suite-1.0.8 vendor/cache/ruby/2.2.0/gems/rspec-core-3.4.0/lib/rspec/core/source/location.rb
tdiary-5.0.2 vendor/bundle/gems/rspec-core-3.5.2/lib/rspec/core/source/location.rb
logstash-filter-delta-1.1.0 vendor/bundle/jruby/2.2.0/gems/rspec-core-3.5.3/lib/rspec/core/source/location.rb
logstash-filter-delta-1.0.1 vendor/bundle/jruby/2.2.0/gems/rspec-core-3.5.3/lib/rspec/core/source/location.rb
logstash-filter-base64-1.0.4 vendor/bundle/jruby/2.2.0/gems/rspec-core-3.5.3/lib/rspec/core/source/location.rb
logstash-filter-base64-1.0.3 vendor/bundle/jruby/2.2.0/gems/rspec-core-3.5.3/lib/rspec/core/source/location.rb
logstash-filter-delta-1.0.0 vendor/bundle/jruby/2.2.0/gems/rspec-core-3.5.3/lib/rspec/core/source/location.rb
logstash-filter-base64-1.0.2 vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/source/location.rb
logstash-filter-base64-1.0.1 vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/source/location.rb
logstash-filter-base64-1.0.0 vendor/bundle/jruby/2.3.0/gems/rspec-core-3.5.3/lib/rspec/core/source/location.rb
rspec-core-3.5.3 lib/rspec/core/source/location.rb
rspec-core-3.5.2 lib/rspec/core/source/location.rb
rspec-core-3.5.1 lib/rspec/core/source/location.rb
rspec-core-3.5.0 lib/rspec/core/source/location.rb
tdiary-5.0.1 vendor/bundle/gems/rspec-core-3.4.4/lib/rspec/core/source/location.rb