class ApacheCrunch::IntegerCast
Converts a string to an integer
Public Instance Methods
cast(string_value)
click to toggle source
# File lib/cast.rb, line 4 def cast(string_value) string_value.to_i end
Converts a string to an integer
# File lib/cast.rb, line 4 def cast(string_value) string_value.to_i end