aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/library/lux/target/ruby.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/library/lux/target/ruby.lux')
-rw-r--r--stdlib/source/library/lux/target/ruby.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/library/lux/target/ruby.lux b/stdlib/source/library/lux/target/ruby.lux
index fc08c16fa..d56ce5936 100644
--- a/stdlib/source/library/lux/target/ruby.lux
+++ b/stdlib/source/library/lux/target/ruby.lux
@@ -33,7 +33,7 @@
(-> Text Text)
(.let [nested_new_line (format text.new_line text.tab)]
(|>> (format text.new_line)
- (text.replace_all text.new_line nested_new_line))))
+ (text.replaced text.new_line nested_new_line))))
(abstract: .public (Code brand)
{}
@@ -152,7 +152,7 @@
(def: safe
(-> Text Text)
(`` (|>> (~~ (template [<find> <replace>]
- [(text.replace_all <find> <replace>)]
+ [(text.replaced <find> <replace>)]
["\" "\\"]
[text.tab "\t"]
@@ -187,7 +187,7 @@
[(f.= f.not_a_number)]
[(new> "(+0.0/-0.0)" [])]
- ## else
+ ... else
[%.frac])
:abstraction))
@@ -441,7 +441,7 @@
(list\map (|>> %.nat code.local_identifier))))))
(syntax: (arity_types {arity <code>.nat})
- (in (list.repeat arity (` ..Expression))))
+ (in (list.repeated arity (` ..Expression))))
(template [<arity> <function>+]
[(with_expansions [<apply> (template.identifier ["apply/" <arity>])