Class: Wicked::Pipeline::ReadonlyStep

Inherits:
BaseStep
  • Object
show all
Defined in:
lib/wicked/pipeline/readonly_step.rb

Instance Attribute Summary

Attributes inherited from BaseStep

#resource

Instance Method Summary collapse

Methods inherited from BaseStep

==, #===, ===, #blocking_reason, #blocking_reasons, eql?, equal?, #equal?, i18n_scope, #id, #initialize, #persisted?, #save, #saved?, #step_name, step_name, #to_s, to_s, #valid?

Constructor Details

This class inherits a constructor from Wicked::Pipeline::BaseStep

Instance Method Details

#blocking?Boolean

Returns false.

Returns:

  • (Boolean)

    false



12
13
14
# File 'lib/wicked/pipeline/readonly_step.rb', line 12

def blocking?
  false
end

#readonly?Boolean

Returns true.

Returns:

  • (Boolean)

    true



7
8
9
# File 'lib/wicked/pipeline/readonly_step.rb', line 7

def readonly?
  true
end