Sha256: 1f947765f1ea9c0e5d057ff9572d76c5596142b5a94a274509446624cc72e62d
Contents?: true
Size: 320 Bytes
Versions: 2
Compression:
Stored size: 320 Bytes
Contents
# frozen_string_literal: true require_relative 'simple_annotation/version' require_relative 'simple_annotation/annotatable' module SimpleAnnotation def annotations return [] unless owner.include? Annotatable owner.annotations(original_name) end ::UnboundMethod.include self ::Method.include self end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simple_annotation-0.1.1 | lib/simple_annotation.rb |
simple_annotation-0.1.0 | lib/simple_annotation.rb |