Class: Factbase::Looged::Fact

Inherits:
Object
  • Object
show all
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

Constructor Details

#initialize(fact, loog) ⇒ Fact

Returns a new instance of Fact.



84
85
86
87
# File 'lib/factbase/looged.rb', line 84

def initialize(fact, loog)
  @fact = fact
  @loog = loog
end

Instance Method Details

#all_propertiesObject



93
94
95
# File 'lib/factbase/looged.rb', line 93

def all_properties
  @fact.all_properties
end

#to_sObject



89
90
91
# File 'lib/factbase/looged.rb', line 89

def to_s
  @fact.to_s
end