Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
emiltin committed Nov 8, 2019
1 parent ac3514f commit 9f167fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
27 changes: 0 additions & 27 deletions .rspec_status

This file was deleted.

3 changes: 2 additions & 1 deletion lib/rsmp/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ def initialize options
end

def log str, options={}
prepared = RSMP::Archive.prepare_item options.merge str: str
default = { level: :log }
prepared = RSMP::Archive.prepare_item default.merge(options.merge str: str)
@archive.add prepared
@logger.log prepared
prepared
Expand Down

0 comments on commit 9f167fd

Please sign in to comment.