Class: BBMB::Html::View::CopyLeft
- Inherits:
-
HtmlGrid::DivComposite
- Object
- HtmlGrid::DivComposite
- BBMB::Html::View::CopyLeft
- Defined in:
- lib/bbmb/html/view/copyleft.rb
Constant Summary collapse
- COMPONENTS =
{ [0,0] => :lgpl, [1,0] => ', ', [2,0] => :current_year, [3,0] => ' ', [4,0] => :ywesee, [5,0] => ' ', [6,0] => :bbmb_version, }
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#bbmb_version(model) ⇒ Object
33 34 35 36 37 |
# File 'lib/bbmb/html/view/copyleft.rb', line 33 def bbmb_version(model) link = version(model) link.set_attribute('title', VERSION) link end |
#current_year(model) ⇒ Object
30 31 32 |
# File 'lib/bbmb/html/view/copyleft.rb', line 30 def current_year(model) Time.now.year.to_s end |