Class: SPV::DSL::Adjuster::Action

Inherits:
Object
  • Object
show all
Defined in:
lib/site_prism_vcr/dsl/adjuster.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(default_action) ⇒ Action

Returns a new instance of Action.



112
113
114
# File 'lib/site_prism_vcr/dsl/adjuster.rb', line 112

def initialize(default_action)
  @defined_actions, @action = Set.new, default_action
end

Instance Attribute Details

#actionObject

Returns the value of attribute action.



110
111
112
# File 'lib/site_prism_vcr/dsl/adjuster.rb', line 110

def action
  @action
end