Class: Form

Inherits:
Object
  • Object
show all
Defined in:
lib/arabic_conjugator/form.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#baseObject (readonly)

Returns the value of attribute base.



2
3
4
# File 'lib/arabic_conjugator/form.rb', line 2

def base
  @base
end

#root1Object (readonly)

Returns the value of attribute root1.



2
3
4
# File 'lib/arabic_conjugator/form.rb', line 2

def root1
  @root1
end

#root2Object (readonly)

Returns the value of attribute root2.



2
3
4
# File 'lib/arabic_conjugator/form.rb', line 2

def root2
  @root2
end

#root3Object (readonly)

Returns the value of attribute root3.



2
3
4
# File 'lib/arabic_conjugator/form.rb', line 2

def root3
  @root3
end