class RspecPuppetFactsUnsupported::Integerlike
Integerlike
private class
Public Class Methods
new(obj)
click to toggle source
# File lib/rspec-puppet-facts-unsupported/on_unsupported_os.rb, line 172 def initialize(obj) @obj = obj end
Public Instance Methods
integer?()
click to toggle source
# File lib/rspec-puppet-facts-unsupported/on_unsupported_os.rb, line 176 def integer? to_s == to_i.to_s end
to_i()
click to toggle source
# File lib/rspec-puppet-facts-unsupported/on_unsupported_os.rb, line 180 def to_i to_s.to_i end
to_s()
click to toggle source
# File lib/rspec-puppet-facts-unsupported/on_unsupported_os.rb, line 184 def to_s @obj.to_s end