Class: TextRazor::Property

Inherits:
Object
  • Object
show all
Includes:
Util
Defined in:
lib/textrazor/property.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Util

included

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

#idObject (readonly)

Returns the value of attribute id.



7
8
9
# File 'lib/textrazor/property.rb', line 7

def id
  @id
end

#property_positionsObject (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_positionsObject (readonly)

Returns the value of attribute word_positions.



7
8
9
# File 'lib/textrazor/property.rb', line 7

def word_positions
  @word_positions
end