Module: GuiDebugger

Defined in:
lib/gui_debugger.rb,
lib/gui_debugger/railtie.rb,
lib/gui_debugger/version.rb,
lib/gui_debugger/gui_debug.rb,
lib/gui_debugger/debug_page.rb,
lib/gui_debugger/middleware.rb,
lib/gui_debugger/debug_context.rb

Defined Under Namespace

Modules: GuiDebug Classes: DebugContext, DebugPage, Middleware, Railtie

Constant Summary collapse

VERSION =
"0.0.4"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.debug_contextObject

retain a context for debug



10
11
12
# File 'lib/gui_debugger.rb', line 10

def debug_context
  @debug_context
end

Class Method Details

.escape(str) ⇒ Object



13
14
15
# File 'lib/gui_debugger.rb', line 13

def self.escape(str)
  ERB::Util.h(str.gsub('\n', "\n"))
end