Class: Recruiter::ArticleDecorator
- Inherits:
-
Draper::Decorator
- Object
- Draper::Decorator
- Recruiter::ArticleDecorator
- Includes:
- DecoratorHelper, PublicableDecoratorHelper
- Defined in:
- app/decorators/recruiter/article_decorator.rb
Instance Method Summary collapse
Methods included from PublicableDecoratorHelper
#created_at_ago, #publication, #published_at, #updated?, #updated_at, #updated_at_ago
Methods included from DecoratorHelper
Instance Method Details
#published? ⇒ Boolean
8 9 10 |
# File 'app/decorators/recruiter/article_decorator.rb', line 8 def published? decorate_boolean(object.published?) end |