class ShriftInt
A Shrift
Cell where the value is in integer.
Public Instance Methods
process(target)
click to toggle source
# File lib/shrift/shrift_int.rb, line 5 def process(target) target.send(field) end
set(value, target)
click to toggle source
# File lib/shrift/shrift_int.rb, line 9 def set(value, target) target.send("#{field}=", value.to_i) end