Sha256: 7adcd049cfbb01e3349c0e6dc510fcf329b39a8ccf0bb9df9aeaf56e24f41995
Contents?: true
Size: 601 Bytes
Versions: 14
Compression:
Stored size: 601 Bytes
Contents
class Disposable::Twin class Definition < Declarative::Definitions::Definition def getter self[:name] end def setter "#{self[:name]}=" end end module DefinitionsEach def each(options={}) return self unless block_given? super() do |dfn| next if options[:exclude] and options[:exclude].include?(dfn[:name]) next if options[:scalar] and dfn[:collection] next if options[:collection] and ! dfn[:collection] next if options[:twin] and ! dfn[:nested] yield dfn end self end end end
Version data entries
14 entries across 14 versions & 1 rubygems