Class: ServiceActor::Checks::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/service_actor/checks/base.rb

Direct Known Subclasses

InclusionCheck, MustCheck, NilCheck, TypeCheck

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBase

Returns a new instance of Base.



10
11
12
# File 'lib/service_actor/checks/base.rb', line 10

def initialize
  @argument_errors = []
end

Instance Attribute Details

#argument_errorsObject (readonly)

Returns the value of attribute argument_errors.



14
15
16
# File 'lib/service_actor/checks/base.rb', line 14

def argument_errors
  @argument_errors
end

Class Method Details

.applicable_to_origin?(_origin) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/service_actor/checks/base.rb', line 5

def applicable_to_origin?(_origin)
  true
end