{: rooto:"YARD::CodeObjects::RootObject:@childrenIC:&YARD::CodeObjects::CodeObjectList[o:$YARD::CodeObjects::ModuleObject;IC;[o:#YARD::CodeObjects::ClassObject;IC;[o:$YARD::CodeObjects::MethodObject:@module_functionF: @scope: class:@visibility: public: @pathI" Iqeo::Configuration.version:EF:@parameters[: @files[["lib/iqeo/configuration.rbi:@current_file_has_commentsT: @name: version:@source_type: ruby: @tags[:@docstringIC:YARD::Docstring"*Returns Configuration version number. ;F:@ref_tags[;[: @all"*Returns Configuration version number.: @object@ :@hash_flagF:@line_rangeo: Range: exclF: begini:endi:@docstring_extra0:@docstring_extra_tags0:@namespace@ :@signature"def self.version:@explicitT: @source"#def self.version VERSION end: @dynamicTo; ; F; ;;;;I"Iqeo::Configuration.read;F;[[" string0;[[@i#;T;: read;;;[;IC;"]Creates a new Configuration instance from string. Content should be in Eval DSL format. ;F;[;[;I"]Creates a new Configuration instance from string. Content should be in Eval DSL format.;F;@; F;!o;";#F;$i;%i!;&0;'0;(@ ;)"def self.read string;*T;+"Rdef self.read string conf = self.new conf.instance_eval string conf end;,To; ; F; ;;;;I"Iqeo::Configuration.load;F;[[" file0;[[@i-;T;: load;;;[;IC;"qCreates a new Configuration instance from filename or File/IO object. Content should be in Eval DSL format. ;F;[;[;I"qCreates a new Configuration instance from filename or File/IO object. Content should be in Eval DSL format.;F;@); F;!o;";#F;$i);%i+;&0;'0;(@ ;)"def self.load file;*T;+"ddef self.load file return self.read file.respond_to?(:read) ? file.read : File.read(file) end;,To; ; F; ;;;;I"3Iqeo::Configuration.new_defer_block_for_parent;F;[[" parent0[I" &block;F0;[[@i1;F;:new_defer_block_for_parent;;;[;IC;" ;F;@8: @summary0; F;[;[;I";F;&0;'0;(@ ;)"7def self.new_defer_block_for_parent parent, █*T;+"Gdef self.new_defer_block_for_parent parent, &block conf = Configuration.new conf._parent = parent if block_given? && block.arity == 1 block.call(conf) # this is 'yield self' from the outside else raise "WTF! expected a block with a single parameter" end conf end;,To; ; F; : instance;;;I"#Iqeo::Configuration#initialize;F;[[I" &block;F0;[[@i<;F;:initialize;;;[;IC;" ;F;@H;00; F;[;[o:YARD::Tags::Tag :@tag_nameI" return;F: @textI"$a new instance of Configuration;F;0: @types[I"Configuration;F;@H;I";F;&0;'0;(@ ;)"def initialize █*T;+"`def initialize &block @items = HashWithIndifferentAccess.new @_parent = nil if block_given? if block.arity == 1 # cannot set parent for yield blocks here as self is wrong !? yield self else if block.binding.eval('self').kind_of?( Configuration ) # for eval block if nested configuration @_parent = block.binding.eval('self') # set parent to make inherited values available end # during block execution instance_eval &block end end end;,To; ; F; ;1;;;I"'Iqeo::Configuration#method_missing;F;[[" name0[I" *values;F0[I" &block;F0;[[@iK;F;:method_missing;;;[;IC;" ;F;@[;00; F;[;[;I";F;&0;'0;(@ ;)"-def method_missing name, *values, █*T;+"™def method_missing name, *values, &block return @items.send( name, *values, &block ) if @items.respond_to? name # @items methods are highest priority name = name.to_s.chomp('=') if block_given? # block is a nested configuration if block.arity == 1 # yield DSL needs deferred block to set parent without binding return _set name, Configuration.new_defer_block_for_parent( self, &block ) else return _set name, Configuration.new( &block ) # eval DSL can set parent from block binding in initialize end end return _get name if values.empty? # just get item return _set name, values if values.size > 1 # set item to multiple values return _set name, values.first # set item to single value end;,To; ; F; ;1;;;I" Iqeo::Configuration#_parent;F;[;[[@i];F;: _parent;;;[;IC;"+Returns the value of attribute _parent ;F;@m;00; F;[;[;I"+Returns the value of attribute _parent;F;&0;'0;(@ ;)I"def _parent;F;+I"def _parent @_parent end;F;,To; ; F; ;1;;;I"!Iqeo::Configuration#_parent=;F;[[I" value;F0;[[@i];F;: _parent=;;;[;IC;"Sets the attribute _parent ;F;@y;00; F;[;[o;3 ;4I" param;F;5I"/the value to set the attribute _parent to.;F;I" value;F;60;@y;I"WSets the attribute _parent @param value the value to set the attribute _parent to.;F;&0;'0;(@ ;)I"def _parent=(value);F;+I"/def _parent=(value) @_parent = value end;F;,To; ; F; ;1;;;I"Iqeo::Configuration#_set;F;[["key0[" value0;[[@i_;F;: _set;;;[;IC;" ;F;@†;00; F;[;[;I";F;&0;'0;(@ ;)"def _set key, value;*T;+"7def _set key, value # fix: extend parenting for enumerable with configurations at arbitrary depth case when value.kind_of?( Configuration ) then value._parent = self when value.kind_of?( Enumerable ) then value.each { |v| v._parent = self if v.kind_of? Configuration } end @items[key] = value end;,To; ; F; ;1;;;I"Iqeo::Configuration#[]=;F;[;[[@ig;F;:[]=;;;[;IC;" ;F;@–;00; F;[;[;I" ;F;!0;&0;'0;(@ ;)@”;+"7def _set key, value # fix: extend parenting for enumerable with configurations at arbitrary depth case when value.kind_of?( Configuration ) then value._parent = self when value.kind_of?( Enumerable ) then value.each { |v| v._parent = self if v.kind_of? Configuration } end @items[key] = value end;,To; ; F; ;1;;;I"Iqeo::Configuration#_get;F;[["key0;[[@io;T;: _get;;;[;IC;"¼Retrieves value for key, indifferent storage permits key to be a string or symbol. If configuration is nested, searches for key recursively up to root. Returns nil if key does not exist. ;F;[;[;I"¼Retrieves value for key, indifferent storage permits key to be a string or symbol. If configuration is nested, searches for key recursively up to root. Returns nil if key does not exist.;F;@¡; F;!o;";#F;$ii;%im;&0;'0;(@ ;)"def _get key;*T;+"{def _get key return @items[key] unless @items[key].nil? return @items[key] if _parent.nil? _parent._get key end;,To; ; F; ;1;;;I"Iqeo::Configuration#[];F;[;[[@it;F;:[];;;[;IC;"¼Retrieves value for key, indifferent storage permits key to be a string or symbol. If configuration is nested, searches for key recursively up to root. Returns nil if key does not exist. ;F;@°;00; F;[;[;I"½Retrieves value for key, indifferent storage permits key to be a string or symbol. If configuration is nested, searches for key recursively up to root. Returns nil if key does not exist. ;F;!0;&0;'0;(@ ;)@®;+"{def _get key return @items[key] unless @items[key].nil? return @items[key] if _parent.nil? _parent._get key end;,To; ; F; ;1;;;I"Iqeo::Configuration#_read;F;[[" string0;[[@iv;F;: _read;;;[;IC;" ;F;@»;00; F;[;[;I";F;&0;'0;(@ ;)"def _read string;*T;+"0def _read string instance_eval string end;,To; ; F; ;1;;;I"Iqeo::Configuration#_load;F;[[" file0;[[@iz;F;: _load;;;[;IC;" ;F;@É;00; F;[;[;I";F;&0;'0;(@ ;)"def _load file;*T;+"Udef _load file _read file.respond_to?(:read) ? file.read : File.read(file) end;,To:&YARD::CodeObjects::ConstantObject;[["&lib/iqeo/configuration/version.rbi ;T;: VERSION;;;;;[;IC;"$Current semantic version number ;F;[;[;"$Current semantic version number;@×; F;!o;";#F;$i;%i;&0;'0;(@ ;I"!Iqeo::Configuration::VERSION;F;)"VERSION = "0.0.11";+"VERSION = "0.0.11": @value" "0.0.11";,T: @owner@ :@class_mixinsIC;[;C@ :@instance_mixinsIC;[;C@ :@attributesIC:SymbolHash{;IC;G{:@symbolize_valueT;1IC;G{;8IC;G{;-@m: write@y;HT;HT;HT: @aliases{@–;:@°;<: @groups[;[[@i[@Úi;T;:Configuration;;;;;[;IC;"BConfiguration class. A DSL representing configuration files. ;F;[;[;I"BConfiguration class. A DSL representing configuration files.;F;@ ; F;!o;";#F;$i;%i;&0;'0;(@;I"Iqeo::Configuration;F:@superclasso:YARD::CodeObjects::Proxy : @imethod0:@origname0:@orignamespace0;: Object;(@: @obj0;,T;C@;DIC;[;C@;EIC;[;C@;FIC;G{;IC;G{;HT;1IC;G{;HT;HT;J{;K[;[[@i[@Úi;T;: Iqeo;;;;;[;IC;"Iqeo namespace module. ;F;[;[;"Iqeo namespace module.;@; F;!o;";#F;$i;%i;&0;'0;(@;I" Iqeo;F;C@;DIC;[;C@;EIC;[;C@;FIC;G{;IC;G{;HT;1IC;G{;HT;HT;J{;K[;[;F;;;;;;;[;IC;" ;F;@;00; F;[;[;I";F;&0;'0;(0;I";F;T@:Iqeo::Configuration@ : Iqeo::Configuration.version@ :Iqeo::Configuration.read@:Iqeo::Configuration.load@):3Iqeo::Configuration.new_defer_block_for_parent@8:#Iqeo::Configuration#initialize@H:'Iqeo::Configuration#method_missing@[: Iqeo::Configuration#_parent@m:!Iqeo::Configuration#_parent=@y:Iqeo::Configuration#_set@†:Iqeo::Configuration#[]=@–:Iqeo::Configuration#_get@¡:Iqeo::Configuration#[]@°:Iqeo::Configuration#_read@»:Iqeo::Configuration#_load@É:!Iqeo::Configuration::VERSION@×