Class: Factbase::Looged::Fact
- Inherits:
-
Object
- Object
- Factbase::Looged::Fact
- Defined in:
- lib/factbase/looged.rb
Overview
Fact decorator.
This is an internal class, it is not supposed to be instantiated directly.
Constant Summary collapse
- MAX_LENGTH =
64
Instance Method Summary collapse
- #all_properties ⇒ Object
-
#initialize(fact, loog) ⇒ Fact
constructor
A new instance of Fact.
- #to_s ⇒ Object
Constructor Details
#initialize(fact, loog) ⇒ Fact
Returns a new instance of Fact.
85 86 87 88 |
# File 'lib/factbase/looged.rb', line 85 def initialize(fact, loog) @fact = fact @loog = loog end |
Instance Method Details
#all_properties ⇒ Object
94 95 96 |
# File 'lib/factbase/looged.rb', line 94 def all_properties @fact.all_properties end |
#to_s ⇒ Object
90 91 92 |
# File 'lib/factbase/looged.rb', line 90 def to_s @fact.to_s end |