Module: Interview::HasHtmlOptions

Included in:
Attribute, Button, Dropdown, Form, Glyphicon, ImageAttribute, Link, ProgressBar, Section, Tab, Text
Defined in:
lib/interview/has_html_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#html_classObject

Returns the value of attribute html_class.



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

def html_class
  @html_class
end

#html_optionsObject

Returns the value of attribute html_options.



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

def html_options
  @html_options
end

Instance Method Details

#initialize(params = {}) ⇒ Object



6
7
8
9
10
# File 'lib/interview/has_html_options.rb', line 6

def initialize(params={})
  @html_options = {}
  @html_class = []
  super
end