Class: Apicraft::Mocker::Integer
- Defined in:
- lib/apicraft/mocker/integer.rb
Overview
Generate fake values for integers
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Apicraft::Mocker::Base
Instance Method Details
#mock ⇒ Object
7 8 9 |
# File 'lib/apicraft/mocker/integer.rb', line 7 def mock super.to_i end |