Module: Tynn::HMote

Defined in:
lib/tynn/hmote.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.setup(app, options = {}) ⇒ Object

:nodoc:



5
6
7
8
# File 'lib/tynn/hmote.rb', line 5

def self.setup(app, options = {}) # :nodoc:
  app.set(:layout, options.fetch(:layout, "layout"))
  app.set(:views, options.fetch(:views, File.expand_path("views", Dir.pwd)))
end