enum

Oyl::EmitStyle

Inherits Enum < Comparable < Value < Object

How Oyl::Builder lays out collections.

Constants

BLOCK = 0

Indented, one entry per line.

FLOW = 1

{...} and [...].

MINIMAL = 2

Flow style without optional spaces.

Instance methods

block?

Returns true if this enum value equals BLOCK

Source
flow?

Returns true if this enum value equals FLOW

Source
minimal?

Returns true if this enum value equals MINIMAL

Source