Sha256: 3df279992263d77e7c1c286234bf9ddc3cbff668790f5a8a190024d6e466ae0a

Contents?: true

Size: 683 Bytes

Versions: 8

Compression:

Stored size: 683 Bytes

Contents

java_import Java::org.cx4a.rsense.typing.vertex::MultipleAsgnVertex

module Rsense
  module Server
    module Command

    end
  end
end

class Rsense::Server::Command::RuntimeHelper < Java::org.cx4a.rsense.typing.runtime::RuntimeHelper

  def self.getNamespace(graph, node)
    if node.class.to_s.match(/Colon2ConstNode/)
      left = graph.createVertex((node).getLeftNode())
      object = left.singleType()
      if object && object.java_object.java_kind_of?(Java::org.cx4a.rsense.ruby::RubyModule)
        return object
      else
        return nil
      end
    else
      super
    end
  end

  def self.get_namespace(graph, node)
    self.getNamespace(graph, node)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rsense-server-0.5.18 lib/rsense/server/command/runtime_helper.rb
rsense-server-0.5.17 lib/rsense/server/command/runtime_helper.rb
rsense-server-0.5.16 lib/rsense/server/command/runtime_helper.rb
rsense-server-0.5.15 lib/rsense/server/command/runtime_helper.rb
rsense-server-0.5.14 lib/rsense/server/command/runtime_helper.rb
rsense-server-0.5.13 lib/rsense/server/command/runtime_helper.rb
rsense-server-0.5.12 lib/rsense/server/command/runtime_helper.rb
rsense-server-0.5.11 lib/rsense/server/command/runtime_helper.rb