Class: AnythingValidation

Inherits:
Validation show all
Defined in:
lib/json_patterns.rb

Constant Summary

Constants included from Inspectable

Inspectable::INSPECTING_KEY

Instance Method Summary collapse

Methods inherited from Validation

#as_object_members, #expects_an_object?, memoized_new_from_pattern, new_from_pattern, #shallow_describe, #shallow_match?, #validate_from_root

Methods included from HashInitialized

#initialize

Methods included from DeepEquality

#==

Methods included from Inspectable

#inspect

Instance Method Details

#to_sObject



1145
1146
1147
# File 'lib/json_patterns.rb', line 1145

def to_s
  '__'
end

#validate(path, data) ⇒ Object



1141
1142
1143
# File 'lib/json_patterns.rb', line 1141

def validate(path, data)
  return []
end