Class: AISpec::PluginDSL
- Inherits:
-
Object
- Object
- AISpec::PluginDSL
- Defined in:
- lib/aispec/plugin.rb
Instance Method Summary collapse
- #assertion(name, &block) ⇒ Object
- #provider(name, provider_class) ⇒ Object
- #reporter(name, reporter_class) ⇒ Object
Instance Method Details
#assertion(name, &block) ⇒ Object
5 6 7 |
# File 'lib/aispec/plugin.rb', line 5 def assertion(name, &block) AISpec::Core::Assertion.register(name, &block) end |