Class: Pyru_Ruby_Bridge::Conversions

Inherits:
Object
  • Object
show all
Defined in:
lib/pyru_ruby_bridge.rb

Class Method Summary collapse

Class Method Details

.ruby_to_pyru(ruby_value) ⇒ Object



21
22
23
24
25
26
27
# File 'lib/pyru_ruby_bridge.rb', line 21

def self.ruby_to_pyru(ruby_value)
  # Placeholder for converting Ruby to Pyru
  # You can implement the conversion logic based on your requirements
  # For example:
  # Convert Ruby hash to Pyru dictionary
  return JSON.parse(ruby_value.to_json)
end