Class: GObjectIntrospection::Loader::ArgumentsBuilder
- Inherits:
-
Object
- Object
- GObjectIntrospection::Loader::ArgumentsBuilder
- Defined in:
- lib/gobject-introspection/loader.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
-
#block ⇒ Object
readonly
Returns the value of attribute block.
Instance Method Summary collapse
- #build(arguments, block) ⇒ Object
-
#initialize(info, method_name) ⇒ ArgumentsBuilder
constructor
A new instance of ArgumentsBuilder.
Constructor Details
#initialize(info, method_name) ⇒ ArgumentsBuilder
Returns a new instance of ArgumentsBuilder.
637 638 639 640 641 642 643 644 645 |
# File 'lib/gobject-introspection/loader.rb', line 637 def initialize(info, method_name) @info = info @method_name = method_name @prepared = false @arguments = nil @block = nil end |
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
635 636 637 |
# File 'lib/gobject-introspection/loader.rb', line 635 def arguments @arguments end |
#block ⇒ Object (readonly)
Returns the value of attribute block.
636 637 638 |
# File 'lib/gobject-introspection/loader.rb', line 636 def block @block end |
Instance Method Details
#build(arguments, block) ⇒ Object
647 648 649 650 651 652 653 654 655 |
# File 'lib/gobject-introspection/loader.rb', line 647 def build(arguments, block) prepare @arguments = arguments @block = block build_arguments validate_arguments end |