Class: IOSGen::Base::Action
- Inherits:
-
Object
- Object
- IOSGen::Base::Action
- Defined in:
- lib/ios_gen/base/action.rb
Overview
Action
Instance Attribute Summary collapse
-
#arguments ⇒ Object
Returns the value of attribute arguments.
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#return_type ⇒ Object
Returns the value of attribute return_type.
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ Action
constructor
A new instance of Action.
Constructor Details
#initialize(params = {}) ⇒ Action
Returns a new instance of Action.
7 8 9 10 11 12 |
# File 'lib/ios_gen/base/action.rb', line 7 def initialize(params = {}) @description = params[:description] @name = params[:name] @return_type = params[:return_type] @arguments = params[:arguments] end |
Instance Attribute Details
#arguments ⇒ Object
Returns the value of attribute arguments.
5 6 7 |
# File 'lib/ios_gen/base/action.rb', line 5 def arguments @arguments end |
#description ⇒ Object
Returns the value of attribute description.
5 6 7 |
# File 'lib/ios_gen/base/action.rb', line 5 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
5 6 7 |
# File 'lib/ios_gen/base/action.rb', line 5 def name @name end |
#return_type ⇒ Object
Returns the value of attribute return_type.
5 6 7 |
# File 'lib/ios_gen/base/action.rb', line 5 def return_type @return_type end |