Class: LLT::Review::Helpers::Parsing::Helper::Annotator
- Inherits:
-
Object
- Object
- LLT::Review::Helpers::Parsing::Helper::Annotator
- Defined in:
- lib/llt/review/helpers/parsing/helper/annotator.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#name ⇒ Object
Returns the value of attribute name.
-
#short ⇒ Object
Returns the value of attribute short.
-
#uri ⇒ Object
Returns the value of attribute uri.
Instance Method Summary collapse
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
4 5 6 |
# File 'lib/llt/review/helpers/parsing/helper/annotator.rb', line 4 def address @address end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/llt/review/helpers/parsing/helper/annotator.rb', line 4 def name @name end |
#short ⇒ Object
Returns the value of attribute short.
4 5 6 |
# File 'lib/llt/review/helpers/parsing/helper/annotator.rb', line 4 def short @short end |
#uri ⇒ Object
Returns the value of attribute uri.
4 5 6 |
# File 'lib/llt/review/helpers/parsing/helper/annotator.rb', line 4 def uri @uri end |
Instance Method Details
#complete? ⇒ Boolean
6 7 8 |
# File 'lib/llt/review/helpers/parsing/helper/annotator.rb', line 6 def complete? @short && @name && @address && @uri end |
#name_and_short_to_s ⇒ Object
10 11 12 |
# File 'lib/llt/review/helpers/parsing/helper/annotator.rb', line 10 def name_and_short_to_s "#{@name} (#{@short})" end |