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
323 324 325 |
# File 'lib/pinspec/types.rb', line 323 def hook @hook end |
#line ⇒ Object (readonly)
Returns the value of attribute line
323 324 325 |
# File 'lib/pinspec/types.rb', line 323 def line @line end |
#stage ⇒ Object (readonly)
Returns the value of attribute stage
323 324 325 |
# File 'lib/pinspec/types.rb', line 323 def stage @stage end |
Instance Method Details
#to_s ⇒ Object
324 325 326 |
# File 'lib/pinspec/types.rb', line 324 def to_s "#{hook}(:#{stage})" end |