Class: AtCoderFriends::Problem::Constant

Inherits:
Struct
  • Object
show all
Defined in:
lib/at_coder_friends/problem.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



102
103
104
# File 'lib/at_coder_friends/problem.rb', line 102

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



102
103
104
# File 'lib/at_coder_friends/problem.rb', line 102

def type
  @type
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



102
103
104
# File 'lib/at_coder_friends/problem.rb', line 102

def value
  @value
end