Class: IOSGen::Base::Action

Inherits:
Object
  • Object
show all
Defined in:
lib/ios_gen/base/action.rb

Overview

Action

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#argumentsObject

Returns the value of attribute arguments.



5
6
7
# File 'lib/ios_gen/base/action.rb', line 5

def arguments
  @arguments
end

#descriptionObject

Returns the value of attribute description.



5
6
7
# File 'lib/ios_gen/base/action.rb', line 5

def description
  @description
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/ios_gen/base/action.rb', line 5

def name
  @name
end

#return_typeObject

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