A namespace that defines language-agnostic variable types.
:string
:boolean
:integer
9 10 11 12 13 14 15 16 17 18
# File 'lib/arkana/models/type.rb', line 9 def self.new(string_value:) case string_value when "true", "false" BOOLEAN when /^\d+$/ INTEGER else STRING end end