Sha256: f30f99293e22e0d78990f184494ea4d5685cd6bf66097a720c64cedf1deeb691
Contents?: true
Size: 342 Bytes
Versions: 8
Compression:
Stored size: 342 Bytes
Contents
module Reactor module Attributes class LinkListFromAccessor def initialize(obj, attribute) self.obj = obj self.attribute = attribute end def call obj[attribute.to_sym] || RailsConnector::LinkList.new([]) end protected attr_accessor :obj, :attribute end end end
Version data entries
8 entries across 8 versions & 1 rubygems