Class: Rubyang::Database::SchemaTree::Decimal64Type

Inherits:
Type
  • Object
show all
Defined in:
lib/rubyang/database/schema_tree.rb

Instance Attribute Summary

Attributes inherited from Type

#arg

Instance Method Summary collapse

Constructor Details

#initialize(arg) ⇒ Decimal64Type

Returns a new instance of Decimal64Type.



92
93
94
# File 'lib/rubyang/database/schema_tree.rb', line 92

def initialize arg
  @arg = arg
end

Instance Method Details

#valid?(value) ⇒ Boolean

Returns:

  • (Boolean)


95
96
97
98
# File 'lib/rubyang/database/schema_tree.rb', line 95

def valid? value
  result = true
  result
end