struct Noir::JSObjectConfigExtractor::ConfigObject

Defined in:

miniparsers/js_object_config_extractor.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Hash(String, ConfigValue), line : Int32) #

[View source]

Instance Method Detail

def [](key : String) : ConfigValue #

[View source]
def array(key : String) : Array(ConfigValue) | Nil #

[View source]
def bool(key : String) : Bool | Nil #

[View source]
def data : Hash(String, ConfigValue) #

[View source]
def hash(key : String) : Hash(String, ConfigValue) | Nil #

[View source]
def line : Int32 #

1-based, for PathInfo.


[View source]
def string(key : String) : String | Nil #

[View source]
def truthy?(key : String) : Bool #

[View source]