Class: WoopleTheme::Dashboard::EssentialCompletedPresenter
Constant Summary
ContentImage::DEFAULT_IMAGE, ContentImage::MISSING_WOOPLE_IMAGE
Instance Method Summary
collapse
#completed_class, #render_elective_points
#image
enforce_definitions, #enforced_methods, #ensure_defined, #initialize
Instance Method Details
14
15
|
# File 'app/presenters/woople_theme/dashboard/essential_completed_presenter.rb', line 14
def render_certification_metadata(&block)
end
|
#render_completed_on {|formatted_date| ... } ⇒ Object
20
21
22
|
# File 'app/presenters/woople_theme/dashboard/essential_completed_presenter.rb', line 20
def render_completed_on(&block)
yield(formatted_date) unless source.completed_on.nil?
end
|
#render_essential_duration {|source.time_total| ... } ⇒ Object
24
25
26
|
# File 'app/presenters/woople_theme/dashboard/essential_completed_presenter.rb', line 24
def render_essential_duration(&block)
yield(source.time_total)
end
|
#render_popularity(&block) ⇒ Object
11
12
|
# File 'app/presenters/woople_theme/dashboard/essential_completed_presenter.rb', line 11
def render_popularity(&block)
end
|
#render_progress_bar(&block) ⇒ Object
17
18
|
# File 'app/presenters/woople_theme/dashboard/essential_completed_presenter.rb', line 17
def render_progress_bar(&block)
end
|
#render_time_remaining(&block) ⇒ Object
8
9
|
# File 'app/presenters/woople_theme/dashboard/essential_completed_presenter.rb', line 8
def render_time_remaining(&block)
end
|