Class: ScoutApm::Config::IntegerCoercion

Inherits:
Object
  • Object
show all
Defined in:
lib/scout_apm/config.rb

Instance Method Summary collapse

Instance Method Details

#coerce(val) ⇒ Object



159
160
161
# File 'lib/scout_apm/config.rb', line 159

def coerce(val)
  val.to_i
end