Class: Input
- Inherits:
-
Struct
- Object
- Struct
- Input
- Defined in:
- lib/action.rb
Instance Attribute Summary collapse
-
#default ⇒ Object
Returns the value of attribute default.
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#required ⇒ Object
Returns the value of attribute required.
Class Method Summary collapse
Instance Attribute Details
#default ⇒ Object
Returns the value of attribute default
5 6 7 |
# File 'lib/action.rb', line 5 def default @default end |
#description ⇒ Object
Returns the value of attribute description
5 6 7 |
# File 'lib/action.rb', line 5 def description @description end |
#name ⇒ Object
Returns the value of attribute name
5 6 7 |
# File 'lib/action.rb', line 5 def name @name end |
#required ⇒ Object
Returns the value of attribute required
5 6 7 |
# File 'lib/action.rb', line 5 def required @required end |
Class Method Details
.members_as_headers ⇒ Object
7 8 9 |
# File 'lib/action.rb', line 7 def members_as_headers members.map(&:to_s).map(&:capitalize) end |