Skip to content

Instantly share code, notes, and snippets.

View AlanGabbianelli's full-sized avatar
🇪🇺
https://nohello.club/

Alan Gabbianelli AlanGabbianelli

🇪🇺
https://nohello.club/
View GitHub Profile
@AlanGabbianelli
AlanGabbianelli / base_doc.rb
Created January 12, 2017 12:06 — forked from iliabylich/base_doc.rb
Apipie concerns
# A common concern,include into all doc modules
#
module BaseDoc
include Apipie::DSL::Concern
def namespace(namespace, options = {})
@namespace = namespace
@namespace_name = options[:name]
end
attr_reader :namespace_name