Class: Factorial::Base
- Inherits:
-
Object
- Object
- Factorial::Base
- Defined in:
- lib/factorial.rb
Instance Attribute Summary collapse
-
#factorial_result ⇒ Object
readonly
Returns the value of attribute factorial_result.
-
#gcf_result ⇒ Object
readonly
Returns the value of attribute gcf_result.
-
#lcm_result ⇒ Object
readonly
Returns the value of attribute lcm_result.
Instance Method Summary collapse
-
#initialize(*args) ⇒ Base
constructor
A new instance of Base.
Constructor Details
Instance Attribute Details
#factorial_result ⇒ Object (readonly)
Returns the value of attribute factorial_result.
8 9 10 |
# File 'lib/factorial.rb', line 8 def factorial_result @factorial_result end |
#gcf_result ⇒ Object (readonly)
Returns the value of attribute gcf_result.
8 9 10 |
# File 'lib/factorial.rb', line 8 def gcf_result @gcf_result end |
#lcm_result ⇒ Object (readonly)
Returns the value of attribute lcm_result.
8 9 10 |
# File 'lib/factorial.rb', line 8 def lcm_result @lcm_result end |