Class: AtCoderFriends::InputDef
- Inherits:
-
Struct
- Object
- Struct
- AtCoderFriends::InputDef
- 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 = []) ⇒ InputDef
constructor
A new instance of InputDef.
Constructor Details
#initialize(container, item, names, size = []) ⇒ InputDef
Returns a new instance of InputDef.
13 14 15 |
# File 'lib/at_coder_friends/problem.rb', line 13 def initialize(container, item, names, size = []) super(container, item, names, size) end |
Instance Attribute Details
#container ⇒ Object
Returns the value of attribute container
12 13 14 |
# File 'lib/at_coder_friends/problem.rb', line 12 def container @container end |
#item ⇒ Object
Returns the value of attribute item
12 13 14 |
# File 'lib/at_coder_friends/problem.rb', line 12 def item @item end |
#names ⇒ Object
Returns the value of attribute names
12 13 14 |
# File 'lib/at_coder_friends/problem.rb', line 12 def names @names end |
#size ⇒ Object
Returns the value of attribute size
12 13 14 |
# File 'lib/at_coder_friends/problem.rb', line 12 def size @size end |