Class: ABCing::AlphabetMatch
- Inherits:
-
Object
- Object
- ABCing::AlphabetMatch
- Defined in:
- lib/abcing/alphabet_match.rb
Instance Method Summary collapse
-
#initialize(class_names) ⇒ AlphabetMatch
constructor
A new instance of AlphabetMatch.
- #letters ⇒ Object
Constructor Details
#initialize(class_names) ⇒ AlphabetMatch
Returns a new instance of AlphabetMatch.
3 4 5 |
# File 'lib/abcing/alphabet_match.rb', line 3 def initialize(class_names) @class_names = class_names end |
Instance Method Details
#letters ⇒ Object
7 8 9 |
# File 'lib/abcing/alphabet_match.rb', line 7 def letters class_letters.flatten.sort.uniq end |