module IsInteger
Public Instance Methods
is_integer?()
click to toggle source
# File lib/erp_base_erp_svcs/extensions/core/string.rb, line 23 def is_integer? /\A[-+]?\d+\z/ === self end
# File lib/erp_base_erp_svcs/extensions/core/string.rb, line 23 def is_integer? /\A[-+]?\d+\z/ === self end