class Shelly::Cloudfile
Attributes
content[RW]
Public Instance Methods
clouds()
click to toggle source
create()
click to toggle source
Public: Create Cloudfile
in current path (or append if exists) File is created based on assigned attributes
# File lib/shelly/cloudfile.rb, line 34 def create File.open(path, "a+") { |f| f << generate } end
generate()
click to toggle source
path()
click to toggle source
present?()
click to toggle source
Public: Return true if Cloudfile
is present in current directory
# File lib/shelly/cloudfile.rb, line 11 def present? File.exists?(path) end