Sha256: b532f7b2211848dd0c6dedb9ced29844f0d697365f53332b12d2c3165afdfb10
Contents?: true
Size: 575 Bytes
Versions: 7
Compression:
Stored size: 575 Bytes
Contents
#! /usr/bin/env ruby require "inform" class Frozbot attr_reader :name def initialize(name) @name = name end end Inform.level = :debug Inform.info("About to start") frozbot = Inform.info("Initializing the %{thing}...", :thing => 'frozbot') do Inform.debug "Preparing to make a new frozbot called %{name}", :name => 'puddy' Frozbot.new 'puddy' end Inform.info("Frozbot called %{name} has been initialized. Go %{name}, go!", :name => frozbot.name) Inform.warning 'Hey wait on' Inform.error 'There is an error in the %{thing} thing.', :thing => 'frozbot'
Version data entries
7 entries across 7 versions & 1 rubygems