class Forme::Labeler::Legend

  1. lib/forme/transformers/labeler.rb
Superclass: Object

Methods

Public Instance

  1. call

Public Instance methods

call(tag, input)
[show source]
    # File lib/forme/transformers/labeler.rb
103 def call(tag, input)
104   [input.tag(:legend, input.opts[:label_attr], input.opts[:label]), tag]
105 end