Txt

Byte sized tech know-how.

  • Home
  • About

Tag Archives: variable

09 Feb

env – Shell/Envionment Variables

Show all the variables in the shell.


env
admin Posted in Command Line, Linux bash, command, env, envionment, Linux, shell, variable Leave a comment
03 Dec

Find if a Variable is Defined in Ruby

This will let you find whether a variable is defined in ruby.


if(defined? var_name) then
    print var_name + " is set"
end
admin Posted in Ruby Code, define, defined, rails, Ruby, undef, undefined, variable Leave a comment

Post navigation

Categories

  • Code
  • Command Line
  • Configuration
  • CSS
  • HTML
  • internet
  • JavaScript
  • Linux
  • Mobile
  • Perl
  • PHP
  • Python
  • Ruby
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Fruitful theme by fruitfulcode Powered by: WordPress
↑