Class: Crystalline::Nilable

Inherits:
Object
  • Object
show all
Defined in:
lib/crystalline/types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inner_type) ⇒ Nilable

Returns a new instance of Nilable.



35
36
37
# File 'lib/crystalline/types.rb', line 35

def initialize(inner_type)
  @inner_type = inner_type
end

Instance Attribute Details

#inner_typeObject

Returns the value of attribute inner_type.



33
34
35
# File 'lib/crystalline/types.rb', line 33

def inner_type
  @inner_type
end