Class: TestRinterceptor

Inherits:
Object
  • Object
show all
Includes:
SubRinterceptorExample
Defined in:
lib/rinterceptor_example.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from SubRinterceptorExample

rinter_after_include_class, rinter_before_include_class, #rinter_handler_it_around

Methods included from RinterceptorExample

#rinter_after, #rinter_before

Methods included from Rinterceptor

included, #rinter_after, #rinter_around, #rinter_before, #rinter_skip?

Class Method Details

.s_test(x, y) ⇒ Object



60
61
62
# File 'lib/rinterceptor_example.rb', line 60

def self.s_test(x, y)
  p "s_test x:#{x} y:#{y}"
end

Instance Method Details

#i1_test(x, y) ⇒ Object



51
52
53
# File 'lib/rinterceptor_example.rb', line 51

def i1_test(x, y)
  p "i1_test x:#{x} y:#{y}"
end

#i2_test(x, y) ⇒ Object



54
55
56
# File 'lib/rinterceptor_example.rb', line 54

def i2_test(x, y)
  p "i2_test x:#{x} y:#{y}"
end

#i3_test(x, y) ⇒ Object



57
58
59
# File 'lib/rinterceptor_example.rb', line 57

def i3_test(x, y)
  p "i3_test x:#{x} y:#{y}"
end