Method: CodelessCode::Options#data_dir

Defined in:
lib/codeless_code/options.rb

#data_dirPathname

Returns Where on the file system to search for fables. Will default to DEFAULT_DATA if unspecified.

Returns:

  • (Pathname)

    Where on the file system to search for fables. Will default to DEFAULT_DATA if unspecified



52
53
54
# File 'lib/codeless_code/options.rb', line 52

def data_dir
  @data_dir ||= self[:path] ? Pathname.new(self[:path]) : DEFAULT_DATA
end