Class: GirFFI::NullArgumentBuilder
- Inherits:
-
Object
- Object
- GirFFI::NullArgumentBuilder
- Defined in:
- lib/gir_ffi/builders/null_argument_builder.rb
Overview
Argument builder that does nothing. Implements the Null Object pattern.
Instance Method Summary collapse
- #array_length_idx ⇒ Object
- #call_argument_name ⇒ Object
- #capture_variable_name ⇒ Object
- #method_argument_name ⇒ Object
- #post_conversion ⇒ Object
- #post_converted_name ⇒ Object
- #pre_conversion ⇒ Object
- #return_value_name ⇒ Object
Instance Method Details
#array_length_idx ⇒ Object
14 15 16 |
# File 'lib/gir_ffi/builders/null_argument_builder.rb', line 14 def array_length_idx -1 end |
#call_argument_name ⇒ Object
26 27 28 |
# File 'lib/gir_ffi/builders/null_argument_builder.rb', line 26 def call_argument_name nil end |
#capture_variable_name ⇒ Object
30 31 32 |
# File 'lib/gir_ffi/builders/null_argument_builder.rb', line 30 def capture_variable_name nil end |
#method_argument_name ⇒ Object
18 19 20 |
# File 'lib/gir_ffi/builders/null_argument_builder.rb', line 18 def method_argument_name nil end |
#post_conversion ⇒ Object
10 11 12 |
# File 'lib/gir_ffi/builders/null_argument_builder.rb', line 10 def post_conversion [] end |
#post_converted_name ⇒ Object
34 35 36 |
# File 'lib/gir_ffi/builders/null_argument_builder.rb', line 34 def post_converted_name nil end |
#pre_conversion ⇒ Object
6 7 8 |
# File 'lib/gir_ffi/builders/null_argument_builder.rb', line 6 def pre_conversion [] end |
#return_value_name ⇒ Object
22 23 24 |
# File 'lib/gir_ffi/builders/null_argument_builder.rb', line 22 def return_value_name nil end |