Class: Interview::TextAttribute

Inherits:
Attribute show all
Defined in:
lib/interview/controls/text_attribute.rb

Instance Attribute Summary collapse

Attributes inherited from Attribute

#caption, #caption_as_placeholder, #link, #method, #nil_value, #object, #style, #tooltip, #value

Attributes included from HasHtmlOptions

#html_class, #html_options

Attributes inherited from Control

#parent

Method Summary

Methods inherited from Attribute

#build, #build_caption

Methods included from HasHtmlOptions

#initialize

Methods inherited from Control

#ancestors, #build, #build_child, #build_with_params, #find_attribute, #find_attribute!, #initialize, #set_attributes, #set_defaults

Instance Attribute Details

#cutObject

Returns the value of attribute cut.



4
5
6
# File 'lib/interview/controls/text_attribute.rb', line 4

def cut
  @cut
end

#line_breakObject

Returns the value of attribute line_break.



4
5
6
# File 'lib/interview/controls/text_attribute.rb', line 4

def line_break
  @line_break
end

#rowsObject

Returns the value of attribute rows.



4
5
6
# File 'lib/interview/controls/text_attribute.rb', line 4

def rows
  @rows
end