Class: Rsense::Server::Command::NativeAttrMethod

Inherits:
Java::org.cx4a.rsense.typing.runtime::SpecialMethod
  • Object
show all
Defined in:
lib/rsense/server/command/native_attr_method.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeNativeAttrMethod

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

#contextObject

Returns the value of attribute context.



10
11
12
# File 'lib/rsense/server/command/native_attr_method.rb', line 10

def context
  @context
end

#graphObject

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