Class: Rantly

Inherits:
Object
  • Object
show all
Defined in:
lib/stashify/contract/properties.rb

Instance Method Summary collapse

Instance Method Details

#file_nameObject



10
11
12
# File 'lib/stashify/contract/properties.rb', line 10

def file_name
  string(%r{[[:print:]&&[^/]]})
end

#pathObject



6
7
8
# File 'lib/stashify/contract/properties.rb', line 6

def path
  File.join(*array { file_name })
end