Class: Hypertube::Sdk::RuntimeFactory
- Inherits:
-
Internal::AbstractRuntimeFactory
- Object
- Internal::AbstractRuntimeFactory
- Hypertube::Sdk::RuntimeFactory
- Defined in:
- lib/hypertube-ruby-sdk/sdk/runtime_factory.rb
Instance Method Summary collapse
-
#clr ⇒ Hypertube::Sdk::RuntimeContext
Creates a Hypertube::Sdk::RuntimeContext instance to interact with CLR runtime.
-
#initialize(connection_data) ⇒ RuntimeFactory
constructor
A new instance of RuntimeFactory.
-
#jvm ⇒ Hypertube::Sdk::RuntimeContext
Creates a Hypertube::Sdk::RuntimeContext instance to interact with JVM runtime.
-
#netcore ⇒ Hypertube::Sdk::RuntimeContext
Creates a Hypertube::Sdk::RuntimeContext instance to interact with .NET runtime.
-
#nodejs ⇒ Hypertube::Sdk::RuntimeContext
Creates a Hypertube::Sdk::RuntimeContext instance to interact with Node.js runtime.
-
#perl ⇒ Hypertube::Sdk::RuntimeContext
Creates a Hypertube::Sdk::RuntimeContext instance to interact with Perl runtime.
-
#php ⇒ Hypertube::Sdk::RuntimeContext
Creates a Hypertube::Sdk::RuntimeContext instance to interact with Php runtime.
-
#python ⇒ Hypertube::Sdk::RuntimeContext
Creates a Hypertube::Sdk::RuntimeContext instance to interact with Python runtime.
-
#python27 ⇒ Hypertube::Sdk::RuntimeContext
Creates a Hypertube::Sdk::RuntimeContext instance to interact with Python2.7 runtime.
-
#ruby ⇒ Hypertube::Sdk::RuntimeContext
Creates a Hypertube::Sdk::RuntimeContext instance to interact with Ruby runtime.
Constructor Details
#initialize(connection_data) ⇒ RuntimeFactory
Returns a new instance of RuntimeFactory.
13 14 15 |
# File 'lib/hypertube-ruby-sdk/sdk/runtime_factory.rb', line 13 def initialize(connection_data) @connection_data = connection_data end |
Instance Method Details
#clr ⇒ Hypertube::Sdk::RuntimeContext
Creates a Hypertube::Sdk::RuntimeContext instance to interact with CLR runtime.
20 21 22 |
# File 'lib/hypertube-ruby-sdk/sdk/runtime_factory.rb', line 20 def clr Hypertube::Sdk::RuntimeContext.get_instance(Hypertube::Utils::RuntimeNameHt::CLR, @connection_data) end |
#jvm ⇒ Hypertube::Sdk::RuntimeContext
Creates a Hypertube::Sdk::RuntimeContext instance to interact with JVM runtime.
27 28 29 |
# File 'lib/hypertube-ruby-sdk/sdk/runtime_factory.rb', line 27 def jvm Hypertube::Sdk::RuntimeContext.get_instance(Hypertube::Utils::RuntimeNameHt::JVM, @connection_data) end |
#netcore ⇒ Hypertube::Sdk::RuntimeContext
Creates a Hypertube::Sdk::RuntimeContext instance to interact with .NET runtime.
34 35 36 |
# File 'lib/hypertube-ruby-sdk/sdk/runtime_factory.rb', line 34 def netcore Hypertube::Sdk::RuntimeContext.get_instance(Hypertube::Utils::RuntimeNameHt::NETCORE, @connection_data) end |
#nodejs ⇒ Hypertube::Sdk::RuntimeContext
Creates a Hypertube::Sdk::RuntimeContext instance to interact with Node.js runtime.
55 56 57 |
# File 'lib/hypertube-ruby-sdk/sdk/runtime_factory.rb', line 55 def nodejs Hypertube::Sdk::RuntimeContext.get_instance(Hypertube::Utils::RuntimeNameHt::NODEJS, @connection_data) end |
#perl ⇒ Hypertube::Sdk::RuntimeContext
Creates a Hypertube::Sdk::RuntimeContext instance to interact with Perl runtime.
41 42 43 |
# File 'lib/hypertube-ruby-sdk/sdk/runtime_factory.rb', line 41 def perl Hypertube::Sdk::RuntimeContext.get_instance(Hypertube::Utils::RuntimeNameHt::PERL, @connection_data) end |
#php ⇒ Hypertube::Sdk::RuntimeContext
Creates a Hypertube::Sdk::RuntimeContext instance to interact with Php runtime.
69 70 71 |
# File 'lib/hypertube-ruby-sdk/sdk/runtime_factory.rb', line 69 def php Hypertube::Sdk::RuntimeContext.get_instance(Hypertube::Utils::RuntimeNameHt::PHP, @connection_data) end |
#python ⇒ Hypertube::Sdk::RuntimeContext
Creates a Hypertube::Sdk::RuntimeContext instance to interact with Python runtime.
62 63 64 |
# File 'lib/hypertube-ruby-sdk/sdk/runtime_factory.rb', line 62 def python Hypertube::Sdk::RuntimeContext.get_instance(Hypertube::Utils::RuntimeNameHt::PYTHON, @connection_data) end |
#python27 ⇒ Hypertube::Sdk::RuntimeContext
Creates a Hypertube::Sdk::RuntimeContext instance to interact with Python2.7 runtime.
76 77 78 |
# File 'lib/hypertube-ruby-sdk/sdk/runtime_factory.rb', line 76 def python27 Hypertube::Sdk::RuntimeContext.get_instance(Hypertube::Utils::RuntimeNameHt::PYTHON27, @connection_data) end |
#ruby ⇒ Hypertube::Sdk::RuntimeContext
Creates a Hypertube::Sdk::RuntimeContext instance to interact with Ruby runtime.
48 49 50 |
# File 'lib/hypertube-ruby-sdk/sdk/runtime_factory.rb', line 48 def ruby Hypertube::Sdk::RuntimeContext.get_instance(Hypertube::Utils::RuntimeNameHt::RUBY, @connection_data) end |