From 371a407a49ddf0f2fe1d977018fcd0a009c86043 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 3 Jul 2018 20:35:42 -0400 Subject: - Re-named "import" to "import:". --- new-luxc/source/luxc/lang/translation/ruby/eval.jvm.lux | 8 ++++---- .../source/luxc/lang/translation/ruby/procedure/common.jvm.lux | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'new-luxc/source/luxc/lang/translation/ruby') diff --git a/new-luxc/source/luxc/lang/translation/ruby/eval.jvm.lux b/new-luxc/source/luxc/lang/translation/ruby/eval.jvm.lux index 3c590e8ee..52a261b2a 100644 --- a/new-luxc/source/luxc/lang/translation/ruby/eval.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/ruby/eval.jvm.lux @@ -21,18 +21,18 @@ [Cannot-Evaluate] ) -(host.import java/lang/Object +(host.import: java/lang/Object (toString [] String) (getClass [] (Class Object))) -(host.import java/lang/Long +(host.import: java/lang/Long (intValue [] Integer)) -(host.import org/jruby/RubyArray +(host.import: org/jruby/RubyArray (getLength [] int) (get [int] #? Object)) -(host.import org/jruby/RubyHash +(host.import: org/jruby/RubyHash (get [Object] #? Object)) (def: (tuple lux-object host-object) diff --git a/new-luxc/source/luxc/lang/translation/ruby/procedure/common.jvm.lux b/new-luxc/source/luxc/lang/translation/ruby/procedure/common.jvm.lux index 7fb521751..f26cefad6 100644 --- a/new-luxc/source/luxc/lang/translation/ruby/procedure/common.jvm.lux +++ b/new-luxc/source/luxc/lang/translation/ruby/procedure/common.jvm.lux @@ -219,7 +219,7 @@ ))) ## [[Numbers]] -(host.import java/lang/Double +(host.import: java/lang/Double (#static MIN_VALUE Double) (#static MAX_VALUE Double)) -- cgit v1.2.3