Class: Hobix::Search::Simple::Content
- Inherits:
-
Object
- Object
- Hobix::Search::Simple::Content
- Defined in:
- lib/hobix/search/simple.rb
Instance Attribute Summary collapse
-
#classifications ⇒ Object
Returns the value of attribute classifications.
-
#content ⇒ Object
Returns the value of attribute content.
-
#identifier ⇒ Object
Returns the value of attribute identifier.
-
#mtime ⇒ Object
Returns the value of attribute mtime.
Instance Method Summary collapse
-
#initialize(content, identifier, mtime, clsf) ⇒ Content
constructor
A new instance of Content.
Constructor Details
#initialize(content, identifier, mtime, clsf) ⇒ Content
Returns a new instance of Content.
20 21 22 23 24 25 |
# File 'lib/hobix/search/simple.rb', line 20 def initialize(content, identifier, mtime, clsf) @content = content @identifier = identifier @mtime = mtime @classifications = clsf end |
Instance Attribute Details
#classifications ⇒ Object
Returns the value of attribute classifications.
19 20 21 |
# File 'lib/hobix/search/simple.rb', line 19 def classifications @classifications end |
#content ⇒ Object
Returns the value of attribute content.
19 20 21 |
# File 'lib/hobix/search/simple.rb', line 19 def content @content end |
#identifier ⇒ Object
Returns the value of attribute identifier.
19 20 21 |
# File 'lib/hobix/search/simple.rb', line 19 def identifier @identifier end |
#mtime ⇒ Object
Returns the value of attribute mtime.
19 20 21 |
# File 'lib/hobix/search/simple.rb', line 19 def mtime @mtime end |