Skip to content

Instantly share code, notes, and snippets.

@vaichidrewar
Created October 27, 2013 01:48
Show Gist options
  • Save vaichidrewar/7177025 to your computer and use it in GitHub Desktop.
Save vaichidrewar/7177025 to your computer and use it in GitHub Desktop.
getter , setter Is @ required in setter name: Answer is NO
1. # setter for rx_name
2. def rx_name=(value)
3. @rx_name = value
4. end
1. # getter for rx name
2. def rx_name
3. @rx_name
4. end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment