Class: Macroape::MotifWithThresholds
- Inherits:
-
Object
- Object
- Macroape::MotifWithThresholds
- Defined in:
- lib/macroape/motif_with_thresholds.rb
Instance Attribute Summary collapse
-
#model ⇒ Object
Returns the value of attribute model.
-
#precise ⇒ Object
Returns the value of attribute precise.
-
#rough ⇒ Object
Returns the value of attribute rough.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(model, options = {}) ⇒ MotifWithThresholds
constructor
A new instance of MotifWithThresholds.
Constructor Details
#initialize(model, options = {}) ⇒ MotifWithThresholds
Returns a new instance of MotifWithThresholds.
6 7 8 9 10 |
# File 'lib/macroape/motif_with_thresholds.rb', line 6 def initialize(model, = {}) @model = model @rough = [:rough] @precise = [:precise] end |
Instance Attribute Details
#model ⇒ Object
Returns the value of attribute model.
3 4 5 |
# File 'lib/macroape/motif_with_thresholds.rb', line 3 def model @model end |
#precise ⇒ Object
Returns the value of attribute precise.
4 5 6 |
# File 'lib/macroape/motif_with_thresholds.rb', line 4 def precise @precise end |
#rough ⇒ Object
Returns the value of attribute rough.
4 5 6 |
# File 'lib/macroape/motif_with_thresholds.rb', line 4 def rough @rough end |
Instance Method Details
#==(other) ⇒ Object
12 13 14 15 16 |
# File 'lib/macroape/motif_with_thresholds.rb', line 12 def ==(other) (model == other.model) && (rough == other.rough) && (precise == other.precise) end |