Class: Kernel
- Inherits:
-
Object
- Object
- Kernel
- Defined in:
- app/kernel.rb
Instance Method Summary collapse
Instance Method Details
#p(arg, style = nil) ⇒ Object
2 3 4 5 6 7 8 |
# File 'app/kernel.rb', line 2 def p(arg, style=nil) if Term.nil? NSLog arg else NSLog(style ? arg.send(style) : arg) end end |