aboutsummaryrefslogtreecommitdiff
path: root/src/lux/host.clj
diff options
context:
space:
mode:
Diffstat (limited to 'src/lux/host.clj')
-rw-r--r--src/lux/host.clj3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lux/host.clj b/src/lux/host.clj
index 906e3c714..91582c526 100644
--- a/src/lux/host.clj
+++ b/src/lux/host.clj
@@ -40,6 +40,9 @@
(defn ^String ->class [class]
(string/replace class #"\." "/"))
+(defn ^String ->class-name [module]
+ (string/replace module #"/" "."))
+
(defn ^String ->module-class [module-name]
(string/replace module-name #"/" module-separator))