Class: Card::Act::ActRenderer::AbsoluteActRenderer

Inherits:
Card::Act::ActRenderer show all
Defined in:
mod/history/lib/card/act/act_renderer/absolute_act_renderer.rb

Instance Method Summary collapse

Methods inherited from Card::Act::ActRenderer

#absolute_title, #accordion_expand_link, #accordion_expand_options, #act_accordion, #act_accordion_body, #act_accordion_heading, #act_accordion_panel, #act_links, #act_panel_options, #action_header?, #approved_actions, #collapse_id, #count_types, #details, #edited_ago, #header, #initialize, #link_to_act_card, #link_to_history, #method_missing, #previous_action, #render, #respond_to_missing?, #rollback_link, #show_or_hide_changes_link, #summary

Methods included from Bootstrapper

#bootstrap, #bs

Methods included from Bootstrap::ComponentLoader

#components, #include_component, #load_components, #to_const

Constructor Details

This class inherits a constructor from Card::Act::ActRenderer

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Card::Act::ActRenderer

Instance Method Details

#actionsObject



18
19
20
# File 'mod/history/lib/card/act/act_renderer/absolute_act_renderer.rb', line 18

def actions
  @act.actions
end

#subtitleObject



9
10
11
12
13
14
15
16
# File 'mod/history/lib/card/act/act_renderer/absolute_act_renderer.rb', line 9

def subtitle
  wrap_with :small do
    [
      @format.link_to_card(@act.actor),
      edited_ago
    ]
  end
end

#titleObject



5
6
7
# File 'mod/history/lib/card/act/act_renderer/absolute_act_renderer.rb', line 5

def title
  absolute_title
end