Sha256: 8a58495a38d126bf21562aa78b3b86b1c10e3cc65a79283af732bc3a939852ee

Contents?: true

Size: 302 Bytes

Versions: 2

Compression:

Stored size: 302 Bytes

Contents

module Dio
  module PublicApi
    # Treats `[]` like an alternative constructor and forwards to `DiveForwarder`
    #
    # @param ... [Any]
    #   Forwarded params
    #
    # @return [Dio::DiveForwarder]
    #   Dio pattern matching interface
    def [](...) = Dio::DiveForwarder.new(...)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dio-0.0.2 lib/dio/public_api.rb
dio-0.0.1 lib/dio/public_api.rb