Difference between revisions of "Ruby/C3/Object-Oriented-Programming-Methods/Gujarati"

From Script | Spoken-Tutorial
Jump to: navigation, search
Line 1: Line 1:
 
|-
 
|-
 
| | 03:59
 
| | 03:59
| | આગળ આપણે જોઈ શકીએ છીએ કે ક્લાસ મેથડ  શું હોય છે.
+
| | Next, let us look at what '''class methods '''are.
  
 
|-
 
|-
 
| | 04:04
 
| | 04:04
| | ક્લાસ મેથડસ ફક્ત  ક્લાસના લીધે ઉપલબ્ધ મેથડ હોય છે.
+
| | '''Class methods''' are '''methods '''available only to the '''class.'''
  
 
|-
 
|-
 
| | 04:09
 
| | 04:09
| | આ મેથડ ક્લાસના '''instances''' નમાં માટે ઉપલબ્ધ નથી.
+
| |These '''methods '''are not available to '''instances''' of the '''class.'''
  
 
|-
 
|-
 
| | 04:14
 
| | 04:14
| | તમે વિવિધ રીતે  '''class methods''' ને વ્યાખ્યાયિત કરી શકીએ છીએ.
+
| |There are different ways you can define '''class methods'''.
  
 
|-
 
|-
 
| | 04:16
 
| | 04:16
| | ચાલો ઉદાહરણ ને જોઈએ.
+
| | Let us look at an example.
  
 
|-
 
|-
 
| | 04:18
 
| | 04:18
| | બેસિક લેવલ ના '''Ruby tutorials''' માં પ્રદશિત ની જેમ '''gedit ''' માં એક નવી ફાઈલ બનાવો.
+
| | Create a new file in '''gedit '''as shown in the basic level '''Ruby tutorials'''.
  
 
|-
 
|-
 
| | 04:24
 
| | 04:24
| | '''class_methods.rb''' નામ આપો.
+
| |Name it '''class_methods.rb'''.
  
 
|-
 
|-
 
| | 04:28
 
| | 04:28
| |\ મારી પાસે '''class methods''' નું એક કાર્યકરી ઉદાહરણ છે.
+
| | I have a working example of '''class methods'''.
  
 
|-
 
|-
 
| | 04:32
 
| | 04:32
| | તમે ટ્યુટોરીયલને સમઝતી વખતે વચ્ચે અટકાવીને કોડ ટાઈપ કરી શકો છો.
+
| |You can pause the tutorial and type the code as we go through it.
  
 
|-
 
|-
 
| | 04:36
 
| | 04:36
| |   મેં પહેલાની જેમ  '''Product class''' ને વ્યાખ્યાયિત કર્યું છે.
+
| | I have defined a '''Product class''' like before.
  
 
|-
 
|-
 
| | 04:40
 
| | 04:40
| |   મેં પહેલાની જેમ '''initializer''', ને પણ કોલ કર્યું છે.
+
| | I have also called an '''initializer''', like before.
  
 
|-
 
|-
 
| | 04:44
 
| | 04:44
| |જયારે કે આ વખતે મેં '''description''' નામક એક વધુ  '''argument''' ઉમેર્યું છે.
+
| |However, this time I have added an extra '''argument''' called '''description'''.

Revision as of 11:47, 10 February 2016

|- | | 03:59 | | Next, let us look at what class methods are.

|- | | 04:04 | | Class methods are methods available only to the class.

|- | | 04:09 | |These methods are not available to instances of the class.

|- | | 04:14 | |There are different ways you can define class methods.

|- | | 04:16 | | Let us look at an example.

|- | | 04:18 | | Create a new file in gedit as shown in the basic level Ruby tutorials.

|- | | 04:24 | |Name it class_methods.rb.

|- | | 04:28 | | I have a working example of class methods.

|- | | 04:32 | |You can pause the tutorial and type the code as we go through it.

|- | | 04:36 | | I have defined a Product class like before.

|- | | 04:40 | | I have also called an initializer, like before.

|- | | 04:44 | |However, this time I have added an extra argument called description.

Contributors and Content Editors

Jyotisolanki, Pratik kamble