Class: Aureus::ToolbarInfo

Inherits:
Renderable show all
Defined in:
lib/aureus/toolbar.rb

Instance Method Summary collapse

Methods inherited from Renderable

#compact, #compact_render, #content_tag, #init

Constructor Details

#initialize(text) ⇒ ToolbarInfo

Returns a new instance of ToolbarInfo.



64
65
66
# File 'lib/aureus/toolbar.rb', line 64

def initialize text
	@text = text
end

Instance Method Details

#renderObject



68
69
70
# File 'lib/aureus/toolbar.rb', line 68

def render
	 "li", ("span",@text)
end