Class: Mahoujin::Atoms::SpecificRepetition

Inherits:
Object
  • Object
show all
Defined in:
lib/mahoujin/atoms/specific_repetition.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(atom, number) ⇒ SpecificRepetition


6
7
8
# File 'lib/mahoujin/atoms/specific_repetition.rb', line 6

def initialize(atom, number)
  @atom, @number = atom, number
end

Instance Attribute Details

#atomObject (readonly)

Returns the value of attribute atom


4
5
6
# File 'lib/mahoujin/atoms/specific_repetition.rb', line 4

def atom
  @atom
end

#mumberObject (readonly)

Returns the value of attribute mumber


4
5
6
# File 'lib/mahoujin/atoms/specific_repetition.rb', line 4

def mumber
  @mumber
end