lib/knj/includes/appserver_cli.rb in knjrbfw-0.0.8 vs lib/knj/includes/appserver_cli.rb in knjrbfw-0.0.9
- old
+ new
@@ -1,31 +1,31 @@
require "knj/autoload"
-require "knj/web"
+require "#{$knjpath}web"
class Appserver_cli
- def self.loadfile(filepath)
- require filepath
- end
-
- def self._(str)
- return str
- end
-
- def self.gettext
- return self
- end
-
- def self.lang_opts
- return []
- end
+ def self.loadfile(filepath)
+ require filepath
+ end
+
+ def self._(str)
+ return str
+ end
+
+ def self.gettext
+ return self
+ end
+
+ def self.lang_opts
+ return []
+ end
end
def _kas
- return Appserver_cli
+ return Appserver_cli
end
def _db
- return $db
+ return $db
end
def _ob
return $ob
end
\ No newline at end of file