Class: ProjectEulerCli::Problem
- Inherits:
-
Object
- Object
- ProjectEulerCli::Problem
- Defined in:
- lib/project_euler_cli/problem.rb
Constant Summary collapse
- @@total =
0
Instance Attribute Summary collapse
-
#difficulty ⇒ Object
Returns the value of attribute difficulty.
-
#published ⇒ Object
Returns the value of attribute published.
-
#solved_by ⇒ Object
Returns the value of attribute solved_by.
-
#title ⇒ Object
Returns the value of attribute title.
Class Method Summary collapse
Instance Attribute Details
#difficulty ⇒ Object
Returns the value of attribute difficulty.
4 5 6 |
# File 'lib/project_euler_cli/problem.rb', line 4 def difficulty @difficulty end |
#published ⇒ Object
Returns the value of attribute published.
4 5 6 |
# File 'lib/project_euler_cli/problem.rb', line 4 def published @published end |
#solved_by ⇒ Object
Returns the value of attribute solved_by.
4 5 6 |
# File 'lib/project_euler_cli/problem.rb', line 4 def solved_by @solved_by end |
#title ⇒ Object
Returns the value of attribute title.
4 5 6 |
# File 'lib/project_euler_cli/problem.rb', line 4 def title @title end |
Class Method Details
.total ⇒ Object
8 9 10 |
# File 'lib/project_euler_cli/problem.rb', line 8 def self.total @@total end |
.total=(total) ⇒ Object
12 13 14 |
# File 'lib/project_euler_cli/problem.rb', line 12 def self.total=(total) @@total = total end |