Class: Camille::Types::Any

Inherits:
BasicType show all
Defined in:
lib/camille/types/any.rb

Instance Attribute Summary

Attributes inherited from BasicType

#fingerprint

Instance Method Summary collapse

Methods inherited from BasicType

&, #&, [], #[], directly_instantiable?, inherited, #initialize, instance, #transform, |, #|

Constructor Details

This class inherits a constructor from Camille::BasicType

Instance Method Details

#check(value) ⇒ Object



4
5
6
# File 'lib/camille/types/any.rb', line 4

def check value
  Camille::Checked.new(fingerprint, value)
end

#literalObject



8
9
10
# File 'lib/camille/types/any.rb', line 8

def literal
  "any"
end