Class: SinatraHelpers::BootstrapApp

Inherits:
SinatraApp show all
Defined in:
lib/webapp_raketasks/sinatra_helpers/bootstrap_app.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from SinatraApp

#create_config_ru, #create_webapp_rb

Class Method Details

.invokeObject



4
5
6
7
8
9
10
# File 'lib/webapp_raketasks/sinatra_helpers/bootstrap_app.rb', line 4

def self.invoke
  app = new
  app.create_webapp_rb
  app.create_config_ru
  app.create_index_haml
  app.create_layout_haml
end

Instance Method Details

#create_index_haml(conent = index_haml) ⇒ Object



14
15
16
# File 'lib/webapp_raketasks/sinatra_helpers/bootstrap_app.rb', line 14

def create_index_haml conent = index_haml
  super( conent )
end

#create_layout_haml(conent = layout_haml) ⇒ Object



11
12
13
# File 'lib/webapp_raketasks/sinatra_helpers/bootstrap_app.rb', line 11

def create_layout_haml conent = layout_haml
  super( conent )
end