class Ikra::RubyIntegration::Implementation

Attributes

expect_singleton_args[R]

If set to true, all argument should have a singleton type. This is required for operations on ArrayCommands (e.g., pzip).

implementation[R]
num_params[R]
pass_self[R]
return_type[R]

Public Class Methods

new( num_params:, return_type:, implementation:, pass_self: true, expect_singleton_args: false) click to toggle source
# File lib/ruby_core/ruby_integration.rb, line 23
def initialize(
    num_params:, 
    return_type:, 
    implementation:, 
    pass_self: true, 
    expect_singleton_args: false)

    @num_params = num_params
    @implementation = implementation
    @pass_self = pass_self
    @return_type = return_type
    @expect_singleton_args = expect_singleton_args
end