lib/knj/knj.rb in knjrbfw-0.0.47 vs lib/knj/knj.rb in knjrbfw-0.0.48

- old
+ new

@@ -27,6 +27,11 @@ #Returns the path of the knjrbfw-framework. def self.knjrbfw_path return File.realpath(File.dirname(__FILE__)) end + + #Shortcut to Knj::Php.print_r. + def self.p(*args, &block) + return Knj::Php.print_r(*args, &block) + end end \ No newline at end of file