Class: AhoyCaptain::FilterParser::Item
- Inherits:
-
Object
- Object
- AhoyCaptain::FilterParser::Item
- Defined in:
- app/models/ahoy_captain/filter_parser.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
Returns the value of attribute column.
-
#description ⇒ Object
Returns the value of attribute description.
-
#label ⇒ Object
Returns the value of attribute label.
-
#modal ⇒ Object
Returns the value of attribute modal.
-
#name ⇒ Object
Returns the value of attribute name.
-
#predicate ⇒ Object
Returns the value of attribute predicate.
-
#url ⇒ Object
Returns the value of attribute url.
-
#values ⇒ Object
Returns the value of attribute values.
Instance Method Summary collapse
Instance Attribute Details
#column ⇒ Object
Returns the value of attribute column.
5 6 7 |
# File 'app/models/ahoy_captain/filter_parser.rb', line 5 def column @column end |
#description ⇒ Object
Returns the value of attribute description.
5 6 7 |
# File 'app/models/ahoy_captain/filter_parser.rb', line 5 def description @description end |
#label ⇒ Object
Returns the value of attribute label.
5 6 7 |
# File 'app/models/ahoy_captain/filter_parser.rb', line 5 def label @label end |
#modal ⇒ Object
Returns the value of attribute modal.
5 6 7 |
# File 'app/models/ahoy_captain/filter_parser.rb', line 5 def modal @modal end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'app/models/ahoy_captain/filter_parser.rb', line 5 def name @name end |
#predicate ⇒ Object
Returns the value of attribute predicate.
5 6 7 |
# File 'app/models/ahoy_captain/filter_parser.rb', line 5 def predicate @predicate end |
#url ⇒ Object
Returns the value of attribute url.
5 6 7 |
# File 'app/models/ahoy_captain/filter_parser.rb', line 5 def url @url end |
#values ⇒ Object
Returns the value of attribute values.
5 6 7 |
# File 'app/models/ahoy_captain/filter_parser.rb', line 5 def values @values end |
Instance Method Details
#title ⇒ Object
7 8 9 |
# File 'app/models/ahoy_captain/filter_parser.rb', line 7 def title column.titleize end |