Skip to content

diaphragm/ruby-print-variable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruby-print-variable

Description

Add usefull method to inspect variable.

The methods print variable with variable name & variable value.

Install

$ gem install print_variable

Usage

require 'pv'

var = 1
var2, var_foo, v = 2, 3, 4

pv{:var}               #=> var = 1
pv{%i(var2 var_foo v)} #=> var2    = 2
                       #   var_foo = 3
                       #   v       = 4

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages