class Neo4j::TypeConverters::FixnumConverter

Public Class Methods

convert?(class_or_symbol) click to toggle source
# File lib/neo4j/type_converters/type_converters.rb, line 115
def convert?(class_or_symbol)
  Fixnum == class_or_symbol || :fixnum == class_or_symbol
end
to_java(value) click to toggle source
# File lib/neo4j/type_converters/type_converters.rb, line 119
def to_java(value)
  value.to_i
end
to_ruby(value) click to toggle source
# File lib/neo4j/type_converters/type_converters.rb, line 123
def to_ruby(value)
  value.to_i
end