enum

Jargon::Property::Separator

Inherits Enum < Comparable < Value < Object

What a separator names: the characters at which an array option's value is split into items ("separator": "comma" reads -f 1,3 as [1, 3]).

Constants

Comma = 0
Colon = 1
Semicolon = 2
Whitespace = 3

Class methods

names
Source

Instance methods

colon?

Returns true if this enum value equals Colon

Source
comma?

Returns true if this enum value equals Comma

Source
semicolon?

Returns true if this enum value equals Semicolon

Source
splits_at?(char : Char) : Bool
Source
whitespace?

Returns true if this enum value equals Whitespace

Source