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.
619 620 621 622 623 624 625 626 627 |
# File 'lib/gobject-introspection/loader.rb', line 619 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.
617 618 619 |
# File 'lib/gobject-introspection/loader.rb', line 617 def arguments @arguments end |
#block ⇒ Object (readonly)
Returns the value of attribute block.
618 619 620 |
# File 'lib/gobject-introspection/loader.rb', line 618 def block @block end |
Instance Method Details
#build(arguments, block) ⇒ Object
629 630 631 632 633 634 635 636 637 |
# File 'lib/gobject-introspection/loader.rb', line 629 def build(arguments, block) prepare @arguments = arguments @block = block build_arguments validate_arguments end |