class Rabbit::Command::RabbitSlide::IntegerMapper
Public Class Methods
new(data)
click to toggle source
# File lib/rabbit/command/rabbit-slide.rb, line 346 def initialize(data) @data = data end
Public Instance Methods
apply(entry)
click to toggle source
# File lib/rabbit/command/rabbit-slide.rb, line 354 def apply(entry) apply_value(entry.value_as_int) end
attach(entry)
click to toggle source
# File lib/rabbit/command/rabbit-slide.rb, line 350 def attach(entry) entry.value = value if value end