Class: Proph::ProtGroup
- Inherits:
-
Object
- Object
- Proph::ProtGroup
- Defined in:
- lib/ms/ident/pepxml/prot_summary.rb
Instance Attribute Summary collapse
-
#group_number ⇒ Object
Returns the value of attribute group_number.
-
#probability ⇒ Object
Returns the value of attribute probability.
-
#prots ⇒ Object
Returns the value of attribute prots.
Instance Method Summary collapse
-
#initialize(args = nil) ⇒ ProtGroup
constructor
A new instance of ProtGroup.
Constructor Details
#initialize(args = nil) ⇒ ProtGroup
Returns a new instance of ProtGroup.
110 111 112 113 114 115 116 117 118 |
# File 'lib/ms/ident/pepxml/prot_summary.rb', line 110 def initialize(args=nil) @prots = [] if args instance_var_set_from_hash(args) end if block_given? @prots = yield end end |
Instance Attribute Details
#group_number ⇒ Object
Returns the value of attribute group_number.
109 110 111 |
# File 'lib/ms/ident/pepxml/prot_summary.rb', line 109 def group_number @group_number end |
#probability ⇒ Object
Returns the value of attribute probability.
109 110 111 |
# File 'lib/ms/ident/pepxml/prot_summary.rb', line 109 def probability @probability end |
#prots ⇒ Object
Returns the value of attribute prots.
109 110 111 |
# File 'lib/ms/ident/pepxml/prot_summary.rb', line 109 def prots @prots end |