lib/rackamole/store/log.rb in rackamole-0.2.4 vs lib/rackamole/store/log.rb in rackamole-0.2.5
- old
+ new
@@ -45,13 +45,15 @@
# Display mole type
def display_head( args )
log.info "-"*100
log.info case args[:type]
- when Rackamole.feature : "FEATURE m()le"
- when Rackamole.fault : "FAULT m()le"
- when Rackamole.perf : "PERFORMANCE m()le"
- else "Unknown type #{args[:type].inspect}"
+ when Rackamole.feature
+ "FEATURE m()le"
+ when Rackamole.fault
+ "FAULT m()le"
+ when Rackamole.perf
+ "PERFORMANCE m()le"
end
end
# Output formating...
def display_info( key, value )
\ No newline at end of file