class RubyBreaker::ObjectPosition
This class represents a position with respect to an object and the name of a method being invoked.
Attributes
meth_name[RW]
obj[RW]
Public Class Methods
new(obj, meth_name)
click to toggle source
# File lib/rubybreaker/debug/context.rb, line 61 def initialize(obj, meth_name) @obj = obj @meth_name = meth_name end
Public Instance Methods
to_s()
click to toggle source
# File lib/rubybreaker/debug/context.rb, line 66 def to_s() m_delim = @obj.kind_of?(Module) ? "." : "#" return "> #{@obj.class}#{m_delim}#{@meth_name}" end