Sha256: c4730005aed533c0ed374b8840cc69bb098e9d1228e5756de1f20d208a2bd1d0
Contents?: true
Size: 596 Bytes
Versions: 4
Compression:
Stored size: 596 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
4 entries across 4 versions & 1 rubygems