Class: C::Enumerator
- Inherits:
-
Object
- Object
- C::Enumerator
- Defined in:
- lib/cast-to-yaml/to_yaml.rb
Instance Method Summary collapse
Instance Method Details
#to_h_split ⇒ Object
217 218 219 220 221 222 223 224 |
# File 'lib/cast-to-yaml/to_yaml.rb', line 217 def to_h_split res = {} res["name"] = name if val res["val"] = val.to_s end res end |