Class: WB::NoSQL

Inherits:
Sinatra::Base
  • Object
show all
Defined in:
lib/nosql.rb

Instance Method Summary collapse

Instance Method Details

#page_titleObject

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