Class: Char::Duration

Inherits:
Struct
  • Object
show all
Defined in:
lib/Olib/character/char.rb

Instance Attribute Summary collapse

Instance Attribute Details

#hoursObject

Returns the value of attribute hours

Returns:

  • (Object)

    the current value of hours


3
4
5
# File 'lib/Olib/character/char.rb', line 3

def hours
  @hours
end

#minutesObject

Returns the value of attribute minutes

Returns:

  • (Object)

    the current value of minutes


3
4
5
# File 'lib/Olib/character/char.rb', line 3

def minutes
  @minutes
end

#secondsObject

Returns the value of attribute seconds

Returns:

  • (Object)

    the current value of seconds


3
4
5
# File 'lib/Olib/character/char.rb', line 3

def seconds
  @seconds
end