Module: BlackStack

Defined in:
lib/functions.rb

Defined Under Namespace

Modules: API, DateTime, Debugging, Netting, Number, OCRA, Strings

Instance Method Summary collapse

Instance Method Details

#sandbox? ⇒ Boolean

Return true if there is a .sandbox file in the $RUBYLIB folder.

Returns:

  • (Boolean)


5
6
7
# File 'lib/functions.rb', line 5

def sandbox?
  File.exists?('/$RUBYLIB/.sandbox')
end