Class: Structural::Model::TypeCasts::Identity

Inherits:
Object
  • Object
show all
Defined in:
lib/structural/model/type_casts.rb

Class Method Summary collapse

Class Method Details

.cast(value) ⇒ Object



28
29
30
# File 'lib/structural/model/type_casts.rb', line 28

def self.cast(value)
  value
end

.typeObject



24
25
26
# File 'lib/structural/model/type_casts.rb', line 24

def self.type
  ::Identity
end