class RemiLib::RSConf::RSArray

Overview

The RSArray class holds an array of RSConf values.

Defined in:

remilib/rsconf/common.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

toRsconf(io : IO, *, indentSize : Int = 2, alwaysQuoteKeys : Bool = false, explicitRootObject : Bool = false, commaAfterValues : Bool = false, extraNewlineBetweenToplevelKeys : Bool = false) : Nil
toRsconf(*, 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

def self.new(val : Array(RSScalar | RSObject | RSArray)) #

Creates a new RSArray instance.


[View source]
def self.new #

Creates a new RSArray instance with no elements.


[View source]

Instance Method Detail

def <<(*args, **options) #

[View source]
def <<(*args, **options, &) #

[View source]
def [](*args, **options) #

[View source]
def [](*args, **options, &) #

[View source]
def []=(*args, **options) #

[View source]
def []=(*args, **options, &) #

[View source]
def each(*args, **options) #

[View source]
def each(*args, **options, &) #

[View source]
def toRsconf(builder : RemiLib::RSConf::Builder) #

Converts this instance to RSConf data by writing data using builder.


[View source]