Class: AtCoderFriends::Problem::InputFormat
- Inherits:
-
Struct
- Object
- Struct
- AtCoderFriends::Problem::InputFormat
- Defined in:
- lib/at_coder_friends/problem.rb
Instance Attribute Summary collapse
-
#container ⇒ Object
Returns the value of attribute container.
-
#item ⇒ Object
Returns the value of attribute item.
-
#names ⇒ Object
Returns the value of attribute names.
-
#size ⇒ Object
Returns the value of attribute size.
Instance Method Summary collapse
-
#initialize(container, item, names, size = []) ⇒ InputFormat
constructor
A new instance of InputFormat.
Constructor Details
#initialize(container, item, names, size = []) ⇒ InputFormat
19 20 21 |
# File 'lib/at_coder_friends/problem.rb', line 19 def initialize(container, item, names, size = []) super(container, item, names, size) end |
Instance Attribute Details
#container ⇒ Object
Returns the value of attribute container
18 19 20 |
# File 'lib/at_coder_friends/problem.rb', line 18 def container @container end |
#item ⇒ Object
Returns the value of attribute item
18 19 20 |
# File 'lib/at_coder_friends/problem.rb', line 18 def item @item end |
#names ⇒ Object
Returns the value of attribute names
18 19 20 |
# File 'lib/at_coder_friends/problem.rb', line 18 def names @names end |
#size ⇒ Object
Returns the value of attribute size
18 19 20 |
# File 'lib/at_coder_friends/problem.rb', line 18 def size @size end |