Class: OutlineDownloadPresenter

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
app/presenters/outline_download_presenter.rb

Instance Method Summary collapse

Instance Method Details

#css_classObject



4
5
6
7
8
9
10
# File 'app/presenters/outline_download_presenter.rb', line 4

def css_class
  if __getobj__.enabled
    "download"
  else
    "download disabled"
  end
end