module Workspace

Constants

BEAN_FILE

The bean file where your actin defined. Default is /your/project/root/Beanfile.

TMP_DIR

Public Instance Methods

bean?() click to toggle source
# File lib/bean/project.rb, line 12
def bean?
  File.exist?(Workspace::BEAN_FILE)
end
clear() click to toggle source
# File lib/bean/project.rb, line 16
def clear
  `rm -rf #{TMP_DIR}` if Dir.exist?(TMP_DIR)
end