Class: Funfig::Root
Overview
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from Group
#_cache_get, #_cache_set, _params, #_path, #_sub_name, clone, #each, #each_param, g, group, initialize_clone, #inspect, #load_file, p, param, #to_hash, #update
Constructor Details
#initialize ⇒ Root
Returns a new instance of Root.
260
261
262
|
# File 'lib/funfig.rb', line 260
def initialize
@_cache = {}
end
|
Instance Attribute Details
#_cache ⇒ Object
Returns the value of attribute _cache.
259
260
261
|
# File 'lib/funfig.rb', line 259
def _cache
@_cache
end
|
Class Method Details
._path ⇒ Object
276
277
278
|
# File 'lib/funfig.rb', line 276
def self._path
""
end
|
._sub_name(name) ⇒ Object
280
281
282
|
# File 'lib/funfig.rb', line 280
def self._sub_name(name)
name.to_s
end
|
Instance Method Details
#_ ⇒ Object
272
273
274
|
# File 'lib/funfig.rb', line 272
def _
self
end
|
#_cache_clear! ⇒ Object
264
265
266
|
# File 'lib/funfig.rb', line 264
def _cache_clear!
@_cache.clear
end
|
#_parent ⇒ Object
268
269
270
|
# File 'lib/funfig.rb', line 268
def _parent
raise "Already at root"
end
|