Class: MintPress::Mixins::Properties::PropertyHash
- Includes:
- MintLogger
- Defined in:
- src/mintpress-utils/lib/mintpress-utils/property-mixin.rb
Properties (Read/Write)
Properties (Read Only)
Constant Summary
Constants included from MintLogger
MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN
Instance Method Summary collapse
- #<<(a) ⇒ Object
- #[](item) ⇒ Object
-
#[]=(item, value) ⇒ Object
This is a bit magic, to avoid recursion - inittime is used as a lock, and we doin't call set_property_item unless we aren't already in here somewhere!.
- #auto_harvest ⇒ Object
- #find_one(opts = {}) ⇒ Object
-
#harvest(url: nil, with_children: true, only_traverse_down: true) ⇒ Object
FIXME: this is WLSish - move it out of here.
-
#initialize(hash, parent_class, parent_name) ⇒ PropertyHash
constructor
A new instance of PropertyHash.
- #list_by_glob(item_glob) ⇒ Object
Methods included from MintLogger::Utils::Common
#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send
Methods inherited from Hash
Constructor Details
#initialize(hash, parent_class, parent_name) ⇒ PropertyHash
Returns a new instance of PropertyHash.
Instance Method Details
#<<(a) ⇒ Object
#[](item) ⇒ Object
#[]=(item, value) ⇒ Object
This is a bit magic, to avoid recursion - inittime is used as a lock,
and we doin't call set_property_item unless we aren't already in here somewhere!
#auto_harvest ⇒ Object
#find_one(opts = {}) ⇒ Object
#harvest(url: nil, with_children: true, only_traverse_down: true) ⇒ Object
FIXME: this is WLSish - move it out of here. it should be able to be handled as a monkeypatch