Class: TranslationRepetitionSet
- Inherits:
-
Object
- Object
- TranslationRepetitionSet
- Defined in:
- lib/cofgratx/cfg/translation_repetition_set.rb
Instance Attribute Summary collapse
-
#offset ⇒ Object
Returns the value of attribute offset.
-
#translations ⇒ Object
Returns the value of attribute translations.
Instance Method Summary collapse
-
#initialize(offset = 1, *translations) ⇒ TranslationRepetitionSet
constructor
A new instance of TranslationRepetitionSet.
Constructor Details
#initialize(offset = 1, *translations) ⇒ TranslationRepetitionSet
Returns a new instance of TranslationRepetitionSet.
5 6 7 8 |
# File 'lib/cofgratx/cfg/translation_repetition_set.rb', line 5 def initialize offset = 1, *translations self.offset = offset self.translations = translations end |
Instance Attribute Details
#offset ⇒ Object
Returns the value of attribute offset.
3 4 5 |
# File 'lib/cofgratx/cfg/translation_repetition_set.rb', line 3 def offset @offset end |
#translations ⇒ Object
Returns the value of attribute translations.
3 4 5 |
# File 'lib/cofgratx/cfg/translation_repetition_set.rb', line 3 def translations @translations end |