Class: Lumb::LogFile
- Inherits:
-
Object
- Object
- Lumb::LogFile
- Defined in:
- lib/lumb.rb
Instance Method Summary collapse
-
#initialize(struct, entries, ws_pre, ws_mid, ws_post) ⇒ LogFile
constructor
A new instance of LogFile.
- #to_s ⇒ Object
Constructor Details
#initialize(struct, entries, ws_pre, ws_mid, ws_post) ⇒ LogFile
Returns a new instance of LogFile.
109 110 111 |
# File 'lib/lumb.rb', line 109 def initialize(struct, entries, ws_pre, ws_mid, ws_post) @struct, @entries, @ws_pre, @ws_mid, @ws_post = struct, entries, ws_pre, ws_mid, ws_post end |
Instance Method Details
#to_s ⇒ Object
113 114 115 |
# File 'lib/lumb.rb', line 113 def to_s "#{@ws_pre}#{@struct}#{@ws_mid}#{@entries.join}#{@ws_post}" end |