Class: AtCoderFriends::InputDef

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(container, item, names, size = []) ⇒ InputDef

Returns a new instance of InputDef.



11
12
13
# File 'lib/at_coder_friends/problem.rb', line 11

def initialize(container, item, names, size = [])
  super(container, item, names, size)
end

Instance Attribute Details

#containerObject

Returns the value of attribute container

Returns:

  • (Object)

    the current value of container



10
11
12
# File 'lib/at_coder_friends/problem.rb', line 10

def container
  @container
end

#itemObject

Returns the value of attribute item

Returns:

  • (Object)

    the current value of item



10
11
12
# File 'lib/at_coder_friends/problem.rb', line 10

def item
  @item
end

#namesObject

Returns the value of attribute names

Returns:

  • (Object)

    the current value of names



10
11
12
# File 'lib/at_coder_friends/problem.rb', line 10

def names
  @names
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



10
11
12
# File 'lib/at_coder_friends/problem.rb', line 10

def size
  @size
end