Class: Pinspec::FactoryCallback
- Inherits:
-
Data
- Object
- Data
- Pinspec::FactoryCallback
- Defined in:
- lib/pinspec/types.rb
Instance Attribute Summary collapse
-
#hook ⇒ Object
readonly
Returns the value of attribute hook.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#stage ⇒ Object
readonly
Returns the value of attribute stage.
Instance Method Summary collapse
Instance Attribute Details
#hook ⇒ Object (readonly)
Returns the value of attribute hook
315 316 317 |
# File 'lib/pinspec/types.rb', line 315 def hook @hook end |
#line ⇒ Object (readonly)
Returns the value of attribute line
315 316 317 |
# File 'lib/pinspec/types.rb', line 315 def line @line end |
#stage ⇒ Object (readonly)
Returns the value of attribute stage
315 316 317 |
# File 'lib/pinspec/types.rb', line 315 def stage @stage end |
Instance Method Details
#to_s ⇒ Object
316 317 318 |
# File 'lib/pinspec/types.rb', line 316 def to_s "#{hook}(:#{stage})" end |