Sha256: 56046d02eedc01b965f3ee1b7ead10c8252d7d2c73bf525ed6fdd9de6d1f1564

Contents?: true

Size: 859 Bytes

Versions: 4

Compression:

Stored size: 859 Bytes

Contents

{
  "schema_type": "object",
  "ree_version": "0.1.0",
  "name": "round_helper",
  "path": "packages/ree_number/package/ree_number/functions/round_helper.rb",
  "mount_as": "fn",
  "class": "ReeNumber::RoundHelper",
  "factory": null,
  "methods": [
    {
      "doc": "",
      "throws": [

      ],
      "return": "Or[Integer, BigDecimal]",
      "args": [
        {
          "arg": "number",
          "type": "Or[Integer, Float, Rational, String]"
        },
        {
          "arg": "opts",
          "type": "Ksplat[:precision? => Integer, :significant? => Bool, :round_mode? => Or[up, down, truncate, half_up, default, half_down, half_even, banker, ceiling, floor]]"
        }
      ]
    }
  ],
  "links": [
    {
      "target": "digit_count",
      "package_name": "ree_number",
      "as": "digit_count",
      "imports": [

      ]
    }
  ]
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ree_lib-1.0.3 lib/ree_lib/packages/ree_number/schemas/ree_numbers/functions/round_helper.schema.json
ree_lib-1.0.2 lib/ree_lib/packages/ree_number/schemas/ree_numbers/functions/round_helper.schema.json
ree_lib-1.0.1 lib/ree_lib/packages/ree_number/schemas/ree_numbers/functions/round_helper.schema.json
ree_lib-1.0.0 lib/ree_lib/packages/ree_number/schemas/ree_numbers/functions/round_helper.schema.json