Sha256: 0d07649b76610ec6d6eef7b51cf7c76adce3141822855802e9c0757c42a6528f
Contents?: true
Size: 670 Bytes
Versions: 3
Compression:
Stored size: 670 Bytes
Contents
# frozen_string_literal: true module GirFFI # Argument builder that does nothing. Implements the Null Object pattern. class NullArgumentBuilder def initialize(*) end def pre_conversion [] end def post_conversion [] end def array_length_idx -1 end def method_argument_name nil end def return_value_name nil end def call_argument_name nil end def capture_variable_name nil end def closure_idx -1 end def destroy_idx -1 end def block_argument? false end def post_converted_name nil end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gir_ffi-0.9.5 | lib/gir_ffi/builders/null_argument_builder.rb |
gir_ffi-0.9.4 | lib/gir_ffi/builders/null_argument_builder.rb |
gir_ffi-0.9.3 | lib/gir_ffi/builders/null_argument_builder.rb |