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
- #callarg ⇒ Object
-
#initialize ⇒ NullArgumentBuilder
constructor
A new instance of NullArgumentBuilder.
- #post ⇒ Object
- #pre ⇒ Object
Constructor Details
#initialize ⇒ NullArgumentBuilder
Returns a new instance of NullArgumentBuilder.
4 |
# File 'lib/gir_ffi/builders/null_argument_builder.rb', line 4 def initialize *; end |
Instance Method Details
#callarg ⇒ Object
10 |
# File 'lib/gir_ffi/builders/null_argument_builder.rb', line 10 def callarg; end |
#post ⇒ Object
8 |
# File 'lib/gir_ffi/builders/null_argument_builder.rb', line 8 def post; []; end |
#pre ⇒ Object
6 |
# File 'lib/gir_ffi/builders/null_argument_builder.rb', line 6 def pre; []; end |