Perform some code refactor
This commit is contained in:
@@ -1,15 +1,10 @@
|
||||
package io.smnp.ext.io
|
||||
|
||||
import io.smnp.callable.method.Method
|
||||
import io.smnp.ext.ModuleDefinition
|
||||
import io.smnp.ext.io.function.PrintlnFunction
|
||||
import org.pf4j.Extension
|
||||
|
||||
@Extension
|
||||
class IoModule : ModuleDefinition {
|
||||
override fun modulePath() = "smnp.io"
|
||||
|
||||
class IoModule : ModuleDefinition("smnp.io") {
|
||||
override fun functions() = listOf(PrintlnFunction())
|
||||
|
||||
override fun methods() = emptyList<Method>()
|
||||
}
|
||||
Reference in New Issue
Block a user