Class: LLT::Review::Treebank::Word::Attr
- Inherits:
-
Struct
- Object
- Struct
- LLT::Review::Treebank::Word::Attr
- Defined in:
- lib/llt/review/treebank/word.rb
Instance Attribute Summary collapse
-
#attribute ⇒ Object
Returns the value of attribute attribute.
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
Instance Attribute Details
#attribute ⇒ Object
Returns the value of attribute attribute
9 10 11 |
# File 'lib/llt/review/treebank/word.rb', line 9 def attribute @attribute end |
#id ⇒ Object
Returns the value of attribute id
9 10 11 |
# File 'lib/llt/review/treebank/word.rb', line 9 def id @id end |
Instance Method Details
#report ⇒ Object
14 15 16 |
# File 'lib/llt/review/treebank/word.rb', line 14 def report @report ||= Report.const_get(id.capitalize).new(attribute) end |
#to_s ⇒ Object
10 11 12 |
# File 'lib/llt/review/treebank/word.rb', line 10 def to_s attribute end |