Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/rbbt/annotations/util.rb
Instance Method Summary collapse
Instance Method Details
#marshal_load(hash) ⇒ Object
259 260 261 262 263 264 265 266 267 268 |
# File 'lib/rbbt/annotations/util.rb', line 259 def marshal_load(hash) if Hash === hash e = Annotated.load_hash(hash) self.replace e e.annotate(self) self else self.replace hash end end |