Class: Webroar::User

Inherits:
Object
  • Object
show all
Defined in:
lib/whelper.rb

Class Method Summary collapse

Class Method Details

.permitted?Boolean

Returns:

  • (Boolean)


23
24
25
26
27
# File 'lib/whelper.rb', line 23

def self.permitted?
  return true if File.writable?(TESTFILE)
  puts "#{MESSAGE_DEPLOYMENT}"
  return false
end