The user expects to be allowed to give any type of variable to the function and the function will _only_ return _true_ or _false_.. so yes to make it nicer I could do:

```ruby
  if value.is_a? Integer or (value.is_a? String and value.match(numeric))
```
And I realize that .to_s is also wrong here. It was only to ensure that you don't get any exception but now this is as well true:

```puppet
  if is_integer(['12345'])
```

so I have to change that.