class Playbook::Props::Numeric
Public Instance Methods
validate(value)
click to toggle source
# File lib/playbook/props/numeric.rb, line 6 def validate(value) value.nil? || value.is_a?(Integer) || value.is_a?(Float) end