Class: Hyde::ProbeContext

Inherits:
Object
  • Object
show all
Includes:
DSL::CommonMethods, DSL::ProbeConstructors, DSL::ProbeMethods
Defined in:
lib/hyde/probe.rb

Overview

Context that provides execution context for Probes.

Instance Method Summary collapse

Methods included from DSL::CommonMethods

#bounce, #die

Methods included from DSL::ProbeMethods

#escape_html, #file, #form, #form?, #header, #remove_header, #request, #status, #unescape_html

Methods included from DSL::ProbeConstructors

#erb, #erubi

Constructor Details

#initialize(origin) ⇒ ProbeContext

Returns a new instance of ProbeContext.



32
33
34
# File 'lib/hyde/probe.rb', line 32

def initialize(origin)
  @origin = origin
end