class Fuzz::DirObject

Attributes

ext[R]
fullpath[R]
name[R]
path[R]

Public Class Methods

new(path) click to toggle source
# File lib/fuzz/fzzr.rb, line 86
def initialize(path)
  @path = path
  @fullpath = File.expand_path(path)
  @name = File.basename(path)
  @ext = File.extname(path).sub(/^\./,'')
end

Public Instance Methods

changed?() click to toggle source
# File lib/fuzz/fzzr.rb, line 93
def changed?
  false
end
iterate(fzzr_id, &block) click to toggle source
# File lib/fuzz/fzzr.rb, line 97
def iterate(fzzr_id, &block)
  # nothing to iterate over
  true
end
to_s() click to toggle source
# File lib/fuzz/fzzr.rb, line 102
def to_s
  "Dir:#{path}"
end