Class: Rsense::Server::Command::NativeAttrMethod
- Inherits:
-
Java::org.cx4a.rsense.typing.runtime::SpecialMethod
- Object
- Java::org.cx4a.rsense.typing.runtime::SpecialMethod
- Rsense::Server::Command::NativeAttrMethod
- Defined in:
- lib/rsense/server/command/native_attr_method.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
Returns the value of attribute context.
-
#graph ⇒ Object
Returns the value of attribute graph.
Instance Method Summary collapse
- #call(runtime, receivers, args, blcck, result) ⇒ Object
-
#initialize ⇒ NativeAttrMethod
constructor
A new instance of NativeAttrMethod.
Constructor Details
#initialize ⇒ NativeAttrMethod
Returns a new instance of NativeAttrMethod.
12 13 14 |
# File 'lib/rsense/server/command/native_attr_method.rb', line 12 def initialize super end |
Instance Attribute Details
#context ⇒ Object
Returns the value of attribute context.
10 11 12 |
# File 'lib/rsense/server/command/native_attr_method.rb', line 10 def context @context end |
#graph ⇒ Object
Returns the value of attribute graph.
10 11 12 |
# File 'lib/rsense/server/command/native_attr_method.rb', line 10 def graph @graph end |
Instance Method Details
#call(runtime, receivers, args, blcck, result) ⇒ Object
16 17 18 |
# File 'lib/rsense/server/command/native_attr_method.rb', line 16 def call(runtime, receivers, args, blcck, result) Java::org.cx4a.rsense.typing.runtime::RuntimeHelper.defineAttrs(@graph, receivers, args, true, true) end |