Class: Form
- Inherits:
-
Object
- Object
- Form
- Defined in:
- lib/arabic_conjugator/form.rb
Instance Attribute Summary collapse
-
#base ⇒ Object
readonly
Returns the value of attribute base.
-
#root1 ⇒ Object
readonly
Returns the value of attribute root1.
-
#root2 ⇒ Object
readonly
Returns the value of attribute root2.
-
#root3 ⇒ Object
readonly
Returns the value of attribute root3.
Instance Method Summary collapse
-
#initialize(root1, root2, root3) ⇒ Form
constructor
A new instance of Form.
Constructor Details
#initialize(root1, root2, root3) ⇒ Form
Returns a new instance of Form.
4 5 6 7 8 |
# File 'lib/arabic_conjugator/form.rb', line 4 def initialize(root1, root2, root3) @root1 = root1 @root2 = root2 @root3 = root3 end |
Instance Attribute Details
#base ⇒ Object (readonly)
Returns the value of attribute base.
2 3 4 |
# File 'lib/arabic_conjugator/form.rb', line 2 def base @base end |
#root1 ⇒ Object (readonly)
Returns the value of attribute root1.
2 3 4 |
# File 'lib/arabic_conjugator/form.rb', line 2 def root1 @root1 end |
#root2 ⇒ Object (readonly)
Returns the value of attribute root2.
2 3 4 |
# File 'lib/arabic_conjugator/form.rb', line 2 def root2 @root2 end |
#root3 ⇒ Object (readonly)
Returns the value of attribute root3.
2 3 4 |
# File 'lib/arabic_conjugator/form.rb', line 2 def root3 @root3 end |