Class: AnnotateYaml::YamlHashExplorer
- Inherits:
-
Object
- Object
- AnnotateYaml::YamlHashExplorer
- Defined in:
- lib/annotate_yaml/annotate_yaml.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(hash) ⇒ YamlHashExplorer
constructor
A new instance of YamlHashExplorer.
Constructor Details
#initialize(hash) ⇒ YamlHashExplorer
Returns a new instance of YamlHashExplorer.
9 10 11 12 |
# File 'lib/annotate_yaml/annotate_yaml.rb', line 9 def initialize(hash) @result = [] (hash, []) end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
7 8 9 |
# File 'lib/annotate_yaml/annotate_yaml.rb', line 7 def result @result end |