Class: GirFFI::NullBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/gir_ffi/builders/null_builder.rb

Overview

Object Builder that does nothing. Implements the Null Object pattern.

Instance Method Summary collapse

Instance Method Details

#find_property(_) ⇒ Object



8
9
10
# File 'lib/gir_ffi/builders/null_builder.rb', line 8

def find_property _
  nil
end

#find_signal(_) ⇒ Object



4
5
6
# File 'lib/gir_ffi/builders/null_builder.rb', line 4

def find_signal _
  nil
end