Class: EverExp::Note
- Inherits:
-
Object
- Object
- EverExp::Note
- Defined in:
- lib/ever_exp/note.rb
Instance Attribute Summary collapse
-
#html ⇒ Object
readonly
Returns the value of attribute html.
Instance Method Summary collapse
Instance Attribute Details
#html ⇒ Object (readonly)
Returns the value of attribute html.
6 7 8 |
# File 'lib/ever_exp/note.rb', line 6 def html @html end |
Instance Method Details
#<<(html_or_files) ⇒ Object
24 25 26 27 28 29 30 31 |
# File 'lib/ever_exp/note.rb', line 24 def <<(html_or_files) if html_or_files.isHtml? @html = html_or_files else @files = html_or_files end html_or_files.note = self end |
#files ⇒ Object
12 13 14 |
# File 'lib/ever_exp/note.rb', line 12 def files @files || EverExp::WithoutFiles.instance end |
#tag_array ⇒ Object
20 21 22 |
# File 'lib/ever_exp/note.rb', line 20 def tag_array html. end |
#tags ⇒ Object
16 17 18 |
# File 'lib/ever_exp/note.rb', line 16 def html. end |
#title ⇒ Object
8 9 10 |
# File 'lib/ever_exp/note.rb', line 8 def title html.title end |