Class: MockServer::Model::Boolean
- Defined in:
- lib/mockserver/model/times.rb
Overview
Enum for boolean values since Ruby does not have this by default
Instance Method Summary collapse
Methods inherited from Enum
#initialize, #pre_process_value, #to_s
Constructor Details
This class inherits a constructor from MockServer::Model::Enum
Instance Method Details
#allowed_values ⇒ Object
12 13 14 |
# File 'lib/mockserver/model/times.rb', line 12 def allowed_values [true, false] end |