class
RemiLib::RSConf::RSArray
- RemiLib::RSConf::RSArray
- Reference
- Object
Overview
The RSArray class holds an array of RSConf values.
Defined in:
remilib/rsconf/common.crConstructors
-
.new(val : Array(RSScalar | RSObject | RSArray))
Creates a new
RSArrayinstance. -
.new
Creates a new
RSArrayinstance with no elements.
Instance Method Summary
- #<<(*args, **options)
- #<<(*args, **options, &)
- #[](*args, **options)
- #[](*args, **options, &)
- #[]=(*args, **options)
- #[]=(*args, **options, &)
- #each(*args, **options)
- #each(*args, **options, &)
-
#toRsconf(builder : RemiLib::RSConf::Builder)
Converts this instance to RSConf data by writing data using builder.
Instance methods inherited from class Object
toRsconf(io : IO, *, indentSize : Int = 2, alwaysQuoteKeys : Bool = false, explicitRootObject : Bool = false, commaAfterValues : Bool = false, extraNewlineBetweenToplevelKeys : Bool = false) : NiltoRsconf(*, indentSize : Int = 2, alwaysQuoteKeys : Bool = false, explicitRootObject : Bool = false, commaAfterValues : Bool = false, extraNewlineBetweenToplevelKeys : Bool = false) : String toRsconf
Class methods inherited from class Object
fromRsconf(toplevel : RemiLib::RSConf::RSValue)fromRsconf(data : String | IO | Path) fromRsconf
Constructor Detail
Creates a new RSArray instance.
Instance Method Detail
def toRsconf(builder : RemiLib::RSConf::Builder)
#
Converts this instance to RSConf data by writing data using builder.