class InputComponentPreview::TempObj

Attributes

fieldname[RW]

Public Class Methods

human_attribute_name(_) click to toggle source
# File lib/alveole/previews/input_component_preview.rb, line 9
def self.human_attribute_name(_)
  'label'
end
new(fieldname = 'Example value') click to toggle source
# File lib/alveole/previews/input_component_preview.rb, line 5
def initialize(fieldname = 'Example value')
  @fieldname = fieldname
end