Sha256: 954933cf89927e065030e5ab1d07a562bb92e70169cf2118db9455d66cf49306
Contents?: true
Size: 351 Bytes
Versions: 4
Compression:
Stored size: 351 Bytes
Contents
# class to handle/manage and keep track of list of links in this doc module PMP class Links < HashWithIndifferentAccess include Utils attr_accessor :parent def initialize(parent) super() self.parent = parent end def []=(k, link) super parent.send("#{to_ruby_safe_name(k)}=", link) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
pmp-0.1.3 | lib/pmp/links.rb |
pmp-0.1.2 | lib/pmp/links.rb |
pmp-0.1.1 | lib/pmp/links.rb |
pmp-0.1.0 | lib/pmp/links.rb |