Class: Rust::Function
Instance Attribute Summary collapse
-
#arguments ⇒ Object
Returns the value of attribute arguments.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(name) ⇒ Function
constructor
A new instance of Function.
- #to_R ⇒ Object
Constructor Details
#initialize(name) ⇒ Function
Returns a new instance of Function.
9 10 11 12 13 |
# File 'lib/rust-calls.rb', line 9 def initialize(name) @function = name @arguments = Arguments.new = Options.new end |
Instance Attribute Details
#arguments ⇒ Object
Returns the value of attribute arguments.
6 7 8 |
# File 'lib/rust-calls.rb', line 6 def arguments @arguments end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/rust-calls.rb', line 5 def name @name end |
#options ⇒ Object
Returns the value of attribute options.
7 8 9 |
# File 'lib/rust-calls.rb', line 7 def end |