Sha256: affb8226824210cefce4f5f582ad874c9a1c24c1820e1fd8b95b32048c19df5e
Contents?: true
Size: 345 Bytes
Versions: 2
Compression:
Stored size: 345 Bytes
Contents
require "colorize" module RPass class Display def render_account(account, index) <<-EOF #{title(account, index)} - id: #{account.id} - username: #{account.username} - url: #{account.url} - group: #{account.group} EOF end def title(account, index) "[#{index}] - #{account.name}:".green end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rpass-0.1.1 | lib/rpass/display.rb |
rpass-0.1.0 | lib/rpass/display.rb |