Class: Pinspec::FactoryCallback

Inherits:
Data
  • Object
show all
Defined in:
lib/pinspec/types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#hookObject (readonly)

Returns the value of attribute hook

Returns:

  • (Object)

    the current value of hook



323
324
325
# File 'lib/pinspec/types.rb', line 323

def hook
  @hook
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



323
324
325
# File 'lib/pinspec/types.rb', line 323

def line
  @line
end

#stageObject (readonly)

Returns the value of attribute stage

Returns:

  • (Object)

    the current value of stage



323
324
325
# File 'lib/pinspec/types.rb', line 323

def stage
  @stage
end

Instance Method Details

#to_sObject



324
325
326
# File 'lib/pinspec/types.rb', line 324

def to_s
  "#{hook}(:#{stage})"
end