module Fern::Documentation::Dsl
Public Class Methods
included(receiver)
click to toggle source
# File lib/fern/documentation/dsl.rb, line 6 def self.included(receiver) receiver.extend(ClassMethods) end
Public Instance Methods
doc(str)
click to toggle source
# File lib/fern/documentation/dsl.rb, line 13 def doc(str) @controller.fern[@name][:doc] = str end