Class: Gonzui::Content
- Inherits:
-
Struct
- Object
- Struct
- Gonzui::Content
- Defined in:
- lib/gonzui/content.rb,
lib/gonzui/content.rb
Instance Attribute Summary collapse
-
#mtime ⇒ Object
Returns the value of attribute mtime.
-
#path ⇒ Object
Returns the value of attribute path.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Instance Attribute Details
#mtime ⇒ Object
Returns the value of attribute mtime
13 14 15 |
# File 'lib/gonzui/content.rb', line 13 def mtime @mtime end |
#path ⇒ Object
Returns the value of attribute path
13 14 15 |
# File 'lib/gonzui/content.rb', line 13 def path @path end |
#text ⇒ Object
Returns the value of attribute text
13 14 15 |
# File 'lib/gonzui/content.rb', line 13 def text @text end |
Instance Method Details
#length ⇒ Object
15 16 17 |
# File 'lib/gonzui/content.rb', line 15 def length self.text.length end |