Module: Reaction::IsDocumented::ClassMethods

Defined in:
lib/reaction/is_documented.rb

Instance Method Summary collapse

Instance Method Details

#doc(message = nil, options = {}) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/reaction/is_documented.rb', line 8

def doc(message = nil, options = {})
  if message
    @doc = Doc.new(message, options)
  else
    @doc
  end
end