Module: Lite::Validation::Validator::Node::Abstract::Leaf

Includes:
Lite::Validation::Validator::Node::Abstract
Included in:
Child::Leaf, Root::Leaf
Defined in:
lib/lite/validation/validator/node/abstract/leaf.rb

Instance Method Summary collapse

Methods included from Implementation::Transformation

#transform, #transform?

Methods included from Ruling::Constructors

#Commit, #Dispute, #Invalidate, #Pass, #Refute

Methods included from Implementation::Scoping

#critical, #with_context, #with_valid

Methods included from Implementation::Predication

call_builder_block, fetch_predicate, resolve_predicate, #satisfy, #satisfy?

Methods included from Implementation::Validation

validate, #validate, #validate?

Methods included from Implementation::Iteration

#each_at, #each_at?

Methods included from Implementation::Navigation

#at, #at?

Methods included from Implementation::ApplyRuling

apply_ruling, #auto_commit, #commit, #dispute, #refute, structured_error

Methods included from Implementation::Identity

display_path, #display_path, display_path_element, ensure_identical!, #full_path, #identical?, #intent, intent_id, #key, #path_to, raise_error!, #root?

Instance Method Details

#branchObject



13
14
15
# File 'lib/lite/validation/validator/node/abstract/leaf.rb', line 13

def branch
  self.class::Branch.instance parent, path, option.to_complex, result, state
end

#inspectObject



17
18
19
# File 'lib/lite/validation/validator/node/abstract/leaf.rb', line 17

def inspect
  "Leaf #{super}"
end