Module: Fixtures::BigDecimal
- Extended by:
- BigDecimal, T::Sig
- Includes:
- Fixtures
- Included in:
- BigDecimal
- Defined in:
- lib/data_model/fixtures/big_decimal.rb
Instance Method Summary collapse
Instance Method Details
#max ⇒ Object
45 46 47 48 49 50 51 52 53 |
# File 'lib/data_model/fixtures/big_decimal.rb', line 45 def max Example.new( [:decimal, { max: 5 }], variants: { bigger: 6.to_d, smaller: 4.to_d }, ) end |
#min ⇒ Object
34 35 36 37 38 39 40 41 42 |
# File 'lib/data_model/fixtures/big_decimal.rb', line 34 def min Example.new( [:decimal, { min: 5 }], variants: { bigger: 6.to_d, smaller: 4.to_d }, ) end |