Method: Brief::Model::Definition#example
- Defined in:
- lib/brief/model/definition.rb
#example(body = nil, _options = {}) ⇒ Object
93 94 95 96 97 98 99 |
# File 'lib/brief/model/definition.rb', line 93 def example(body = nil, = {}) if body.is_a?(Hash) = body elsif body.is_a?(String) self.example_body = body end end |