Class: Putter::ProxyMethodData
- Inherits:
-
Object
- Object
- Putter::ProxyMethodData
- Defined in:
- lib/putter/proxy_method_data.rb
Constant Summary collapse
- STACK_TRACE_IGNORE_REGEX =
/(?!.*(\.rbenv|\.rvm|\/lib\/putter\/follower))(^.*$)/
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#label ⇒ Object
Returns the value of attribute label.
-
#line ⇒ Object
Returns the value of attribute line.
-
#method ⇒ Object
Returns the value of attribute method.
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(params) ⇒ ProxyMethodData
constructor
A new instance of ProxyMethodData.
- #stack_trace_ignore_regex ⇒ Object
Constructor Details
#initialize(params) ⇒ ProxyMethodData
Returns a new instance of ProxyMethodData.
7 8 9 10 11 12 13 |
# File 'lib/putter/proxy_method_data.rb', line 7 def initialize(params) @label = params[:label] @line = params[:line] @method = params[:method] @args = params[:args] @result = params[:result] end |
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args.
5 6 7 |
# File 'lib/putter/proxy_method_data.rb', line 5 def args @args end |
#label ⇒ Object
Returns the value of attribute label.
5 6 7 |
# File 'lib/putter/proxy_method_data.rb', line 5 def label @label end |
#line ⇒ Object
Returns the value of attribute line.
5 6 7 |
# File 'lib/putter/proxy_method_data.rb', line 5 def line @line end |
#method ⇒ Object
Returns the value of attribute method.
5 6 7 |
# File 'lib/putter/proxy_method_data.rb', line 5 def method @method end |
#result ⇒ Object
Returns the value of attribute result.
5 6 7 |
# File 'lib/putter/proxy_method_data.rb', line 5 def result @result end |
Instance Method Details
#stack_trace_ignore_regex ⇒ Object
15 16 17 |
# File 'lib/putter/proxy_method_data.rb', line 15 def stack_trace_ignore_regex STACK_TRACE_IGNORE_REGEX end |