Class: RabbiRack::Application

Inherits:
Sinatra::Base
  • Object
show all
Includes:
GetText
Defined in:
lib/rabbirack/application.rb

Constant Summary

Constants included from GetText

GetText::DOMAIN

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from GetText

included

Instance Attribute Details

#rabbitObject

Returns the value of attribute rabbit.



26
27
28
# File 'lib/rabbirack/application.rb', line 26

def rabbit
  @rabbit
end

Instance Method Details

#slide_titleObject



59
60
61
# File 'lib/rabbirack/application.rb', line 59

def slide_title
  @rabbit.slide_title
end

#titleObject



55
56
57
# File 'lib/rabbirack/application.rb', line 55

def title
  "Rabbit"
end