class TableHeaderComponent

Public Class Methods

new(label: nil, url: nil, obj: nil, fieldname: nil) click to toggle source
Calls superclass method
# File lib/alveole/components/table_header_component.rb, line 2
def initialize(label: nil, url: nil, obj: nil, fieldname: nil)
  super

  @label = label || ApplicationController.helpers.label_for(obj, fieldname)
  @url = url
end