Method: Puppet::Pops::Types::PFloatType#instance?
- Defined in:
- lib/puppet/pops/types/types.rb
#instance?(o, guard = nil) ⇒ Boolean
1212 1213 1214 |
# File 'lib/puppet/pops/types/types.rb', line 1212 def instance?(o, guard = nil) o.is_a?(Float) && o >= numeric_from && o <= numeric_to end |