Sha256: ee84e7d7e425f3aa36ad86856378b6e1b20f14c6e7ef5f4fe1a49533905fda8d
Contents?: true
Size: 598 Bytes
Versions: 36
Compression:
Stored size: 598 Bytes
Contents
module Inch module Evaluation # An ObjectSchema describes how important certain parts of the docs are # for the associated Object class ObjectSchema extend Utils::ReadWriteMethods rw_methods %w( docstring parameters return_type return_description code_example_single code_example_multi unconsidered_tag ) attr_reader :object def initialize(&block) @block = block end def evaluate(object) @object = object instance_eval(&@block) end end end end
Version data entries
36 entries across 36 versions & 1 rubygems