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
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#method ⇒ Object
readonly
Returns the value of attribute method.
Instance Method Summary collapse
-
#initialize(method, label) ⇒ ProxyMethodData
constructor
A new instance of ProxyMethodData.
- #stack_trace_ignore_regex ⇒ Object
Constructor Details
#initialize(method, label) ⇒ ProxyMethodData
Returns a new instance of ProxyMethodData.
7 8 9 10 |
# File 'lib/putter/proxy_method_data.rb', line 7 def initialize(method, label) @method = method @label = label end |
Instance Attribute Details
#label ⇒ Object (readonly)
Returns the value of attribute label.
5 6 7 |
# File 'lib/putter/proxy_method_data.rb', line 5 def label @label end |
#method ⇒ Object (readonly)
Returns the value of attribute method.
5 6 7 |
# File 'lib/putter/proxy_method_data.rb', line 5 def method @method end |
Instance Method Details
#stack_trace_ignore_regex ⇒ Object
12 13 14 |
# File 'lib/putter/proxy_method_data.rb', line 12 def stack_trace_ignore_regex STACK_TRACE_IGNORE_REGEX end |