Method: KXI::Reflection::StackFrame#method
- Defined in:
- lib/kxi/reflection/stack_frame.rb
#method ⇒ String?
Returns containing method of frame; nil if none
32 33 34 35 36 37 |
# File 'lib/kxi/reflection/stack_frame.rb', line 32 def method return nil if @block != nil and @block[0] == '<' and @block[@block.length - 1] == '>' return @block unless @block == nil return nil if @context != nil and @context[0] == '<' and @context[@context.length - 1] == '>' @context end |