Class: GBRb::Timer::Frequency

Inherits:
Struct
  • Object
show all
Defined in:
lib/gbrb/timer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#cyclesObject

Returns the value of attribute cycles

Returns:

  • (Object)

    the current value of cycles



11
12
13
# File 'lib/gbrb/timer.rb', line 11

def cycles
  @cycles
end

#stringObject

Returns the value of attribute string

Returns:

  • (Object)

    the current value of string



11
12
13
# File 'lib/gbrb/timer.rb', line 11

def string
  @string
end