Class: TestingYourLegacy::LogEntry
- Inherits:
-
Struct
- Object
- Struct
- TestingYourLegacy::LogEntry
- Includes:
- Comparable
- Defined in:
- lib/testing_your_legacy/testing_your_legacy.rb
Instance Attribute Summary collapse
-
#protocol ⇒ Object
Returns the value of attribute protocol.
-
#url ⇒ Object
Returns the value of attribute url.
-
#visits ⇒ Object
Returns the value of attribute visits.
Instance Method Summary collapse
Instance Attribute Details
#protocol ⇒ Object
Returns the value of attribute protocol
2 3 4 |
# File 'lib/testing_your_legacy/testing_your_legacy.rb', line 2 def protocol @protocol end |
#url ⇒ Object
Returns the value of attribute url
2 3 4 |
# File 'lib/testing_your_legacy/testing_your_legacy.rb', line 2 def url @url end |
#visits ⇒ Object
Returns the value of attribute visits
2 3 4 |
# File 'lib/testing_your_legacy/testing_your_legacy.rb', line 2 def visits @visits end |
Instance Method Details
#<=>(other) ⇒ Object
6 7 8 |
# File 'lib/testing_your_legacy/testing_your_legacy.rb', line 6 def <=>(other) visits <=> other.visits end |