Class: Practical::Views::FormBuilders::CollectionOption

Inherits:
Struct
  • Object
show all
Defined in:
app/lib/practical/views/form_builders/collection_option.rb

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionObject

Returns the value of attribute description

Returns:

  • (Object)

    the current value of description



4
5
6
# File 'app/lib/practical/views/form_builders/collection_option.rb', line 4

def description
  @description
end

#iconObject

Returns the value of attribute icon

Returns:

  • (Object)

    the current value of icon



4
5
6
# File 'app/lib/practical/views/form_builders/collection_option.rb', line 4

def icon
  @icon
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



4
5
6
# File 'app/lib/practical/views/form_builders/collection_option.rb', line 4

def title
  @title
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



4
5
6
# File 'app/lib/practical/views/form_builders/collection_option.rb', line 4

def value
  @value
end