Class: WB::NoSQL
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- WB::NoSQL
- Defined in:
- lib/nosql.rb
Instance Method Summary collapse
-
#page_title ⇒ Object
helper methods.
-
#title(name) ⇒ Object
def title=(name)…
Instance Method Details
#page_title ⇒ Object
helper methods
38 39 40 |
# File 'lib/nosql.rb', line 38 def page_title @title || "" end |
#title(name) ⇒ Object
def title=(name)… does not work, bug?
43 44 45 |
# File 'lib/nosql.rb', line 43 def title(name) @title = " | #{name}" end |