Sha256: 97e3c2c6465bd4b5593c6a8d02c2aabeb9f854bce933c58e612b3a8fb20417c4
Contents?: true
Size: 155 Bytes
Versions: 3
Compression:
Stored size: 155 Bytes
Contents
module HydraPbcore::Methods def remove_node(type, index) self.find_by_terms(type.to_sym).slice(index.to_i).remove self.dirty = true end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hydra-pbcore-1.0.0 | lib/hydra-pbcore/methods.rb |
hydra-pbcore-0.1.0 | lib/hydra-pbcore/methods.rb |
hydra-pbcore-0.0.3 | lib/hydra-pbcore/methods.rb |