Class: Reponaut::Application::Sorter
Direct Known Subclasses
Instance Attribute Summary collapse
-
#count ⇒ Object
readonly
Returns the value of attribute count.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(pair) ⇒ Sorter
constructor
A new instance of Sorter.
Constructor Details
#initialize(pair) ⇒ Sorter
Returns a new instance of Sorter.
6 7 8 |
# File 'lib/reponaut/sorter.rb', line 6 def initialize(pair) @name, @count = pair end |