struct

Noir::JSObjectConfigExtractor::ConfigObject

Inherits Struct < Value < Object

Constructors

new(data : Hash(String, ConfigValue), line : Int32)
Source

Instance methods

[](key : String) : ConfigValue
Source
array(key : String) : Array(ConfigValue) | Nil
Source
bool(key : String) : Bool | Nil
Source
data
Source
hash(key : String) : Hash(String, ConfigValue) | Nil
Source
line

1-based, for PathInfo.

Source
string(key : String) : String | Nil
Source
truthy?(key : String) : Bool
Source