Class: TextRazor::Property
- Inherits:
-
Object
- Object
- TextRazor::Property
- Includes:
- Util
- Defined in:
- lib/textrazor/property.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#property_positions ⇒ Object
readonly
Returns the value of attribute property_positions.
-
#word_positions ⇒ Object
readonly
Returns the value of attribute word_positions.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Property
constructor
A new instance of Property.
Methods included from Util
Constructor Details
#initialize(params = {}) ⇒ Property
Returns a new instance of Property.
9 10 11 |
# File 'lib/textrazor/property.rb', line 9 def initialize(params = {}) initialize_params params end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
7 8 9 |
# File 'lib/textrazor/property.rb', line 7 def id @id end |
#property_positions ⇒ Object (readonly)
Returns the value of attribute property_positions.
7 8 9 |
# File 'lib/textrazor/property.rb', line 7 def property_positions @property_positions end |
#word_positions ⇒ Object (readonly)
Returns the value of attribute word_positions.
7 8 9 |
# File 'lib/textrazor/property.rb', line 7 def word_positions @word_positions end |