Sha256: 8ee7aea625796b00a32ec93b6d29fccb80694bda6f1bf6dba5f28e7d4d076368

Contents?: true

Size: 197 Bytes

Versions: 4

Compression:

Stored size: 197 Bytes

Contents

module RSpec
  module Paramz
    module Syntax
      refine Symbol do
        def &
          _self = self
          NamedProc.new(self) { __send__(_self) }
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rspec-paramz-2.0.0 lib/rspec/paramz/syntax.rb
rspec-paramz-1.2.0 lib/rspec/paramz/syntax.rb
rspec-paramz-1.1.0 lib/rspec/paramz/syntax.rb
rspec-paramz-1.0.0 lib/rspec/paramz/syntax.rb