method
its
1.3.0 -
Show latest stable
-
0 notes -
Class: Spec::Example::Subject::ExampleGroupMethods
- 1.1.4
- 1.1.12
- 1.2.0
- 1.2.8
- 1.3.0 (0)
- 1.3.1 (0)
- What's this?
its(attribute, &block)
public
Hide source
# File lib/spec/example/subject.rb, line 23 def its(attribute, &block) describe(attribute) do define_method(:subject) { super().send(attribute) } it(&block) end end


