Class: Crystalline::Nilable
- Inherits:
-
Object
- Object
- Crystalline::Nilable
- Defined in:
- lib/crystalline/types.rb
Instance Attribute Summary collapse
-
#inner_type ⇒ Object
Returns the value of attribute inner_type.
Instance Method Summary collapse
-
#initialize(inner_type) ⇒ Nilable
constructor
A new instance of Nilable.
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_type ⇒ Object
Returns the value of attribute inner_type.
33 34 35 |
# File 'lib/crystalline/types.rb', line 33 def inner_type @inner_type end |