Class: Nl::DataTypes::Base

Inherits:
Object
  • Object
show all
Defined in:
nl/lib/nl/datatypes.rb

Instance Method Summary collapse

Constructor Details

#initialize(check: nil) ⇒ Base

Returns a new instance of Base.



15
16
17
# File 'nl/lib/nl/datatypes.rb', line 15

def initialize(check: nil)
  @check = check
end

Instance Method Details

#coerce(value, context: nil) ⇒ Object



23
24
25
# File 'nl/lib/nl/datatypes.rb', line 23

def coerce(value, context: nil)
  value
end

#nlattr_type_flags(_value = nil, context: nil) ⇒ Object



19
20
21
# File 'nl/lib/nl/datatypes.rb', line 19

def nlattr_type_flags(_value = nil, context: nil)
  0
end