Class: Useless::Doc::UI::Godel

Inherits:
Mustache
  • Object
show all
Includes:
Useless::Doc::UI
Defined in:
lib/useless/doc/ui/godel.rb

Defined Under Namespace

Classes: Action, Request, Resource, Response

Instance Method Summary collapse

Methods included from Useless::Doc::UI

included

Constructor Details

#initialize(resource) ⇒ Godel

Returns a new instance of Godel.



12
13
14
# File 'lib/useless/doc/ui/godel.rb', line 12

def initialize(resource)
  @resource = Godel::Resource.new(resource)
end